diff --git a/test/mapboxgl/mapping/WebMapV2Spec.js b/test/mapboxgl/mapping/WebMapV2Spec.js index 3c51ce6fc..1b79325e5 100644 --- a/test/mapboxgl/mapping/WebMapV2Spec.js +++ b/test/mapboxgl/mapping/WebMapV2Spec.js @@ -2821,7 +2821,11 @@ describe('mapboxgl_WebMapV2', () => { const map = { ...commonMap, getCRS: () => { - return null; + return { + epsgCode: 'EPSG:2326', + unit: 'degrees', + getExtent: () => [-4786700, -31721916.685568035, 35288316.685568035, 8353100] + }; } }; datavizWebmap = new WebMap(id, { diff --git a/test/resources/WebMapV5.js b/test/resources/WebMapV5.js index 63b1ee6c1..db9b591f9 100644 --- a/test/resources/WebMapV5.js +++ b/test/resources/WebMapV5.js @@ -1319,17 +1319,10 @@ const xyzLayerjingjin4326 = { rootUrl: 'http://test:8190/iportal/' }; const xyzLayer2326 = { - extent: { - leftBottom: { - x: -180, - y: -85.0511287798065 - }, - rightTop: { - x: 180, - y: 85.05112877980648 - } + "extent": { + "leftBottom": { "x": -4786700, "y": -31721916.685568035 }, + "rightTop": { "x": 35288316.685568035, "y": 8353100 } }, - maxScale: '1:144447.92746805', level: 3, center: { x: 45.23786343459705,