Switching from mapbox-gl-js to maplibre-gl-js
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const {run} = require('../../../mapbox-gl-js/test/integration/lib/expression');
|
||||
const {run} = require('../../../maplibre-gl-js/test/integration/lib/expression');
|
||||
const mbgl = require('../index');
|
||||
const ignores = require('./ignores.json');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {run} from '../../../mapbox-gl-js/test/integration/lib/query';
|
||||
import {run} from '../../../maplibre-gl-js/test/integration/lib/query';
|
||||
import implementation from './suite_implementation';
|
||||
import ignores from './ignores.json';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {run} from '../../../mapbox-gl-js/test/integration/lib/render';
|
||||
import {run} from '../../../maplibre-gl-js/test/integration/lib/render';
|
||||
import implementation from './suite_implementation';
|
||||
import ignores from './ignores.json';
|
||||
|
||||
|
||||
@@ -104,7 +104,7 @@ export default function (style, options, callback) {
|
||||
applyOperations(operations.slice(1), callback);
|
||||
}, operation[1]);
|
||||
} else if (operation[0] === 'addImage' || operation[0] === 'updateImage') {
|
||||
const img = PNG.sync.read(fs.readFileSync(path.join(__dirname, '../../../mapbox-gl-js/test/integration', operation[2])));
|
||||
const img = PNG.sync.read(fs.readFileSync(path.join(__dirname, '../../../maplibre-gl-js/test/integration', operation[2])));
|
||||
const testOpts = (operation.length > 3) ? operation[3] : {};
|
||||
|
||||
const options = {
|
||||
|
||||
Reference in New Issue
Block a user