Skip to content

Commit 50ac25f

Browse files
committed
【fix】ut
1 parent f80122d commit 50ac25f

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

test/mapboxgl/mapping/WebMapV22Spec.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -640,12 +640,12 @@ describe('mapboxgl_WebMapV2_2', () => {
640640
const mapJSON = {
641641
"extent": {
642642
"leftBottom": {
643-
"x": 118.02310000000011,
644-
"y": 27.044700000000034
643+
"x": -180,
644+
"y": -90
645645
},
646646
"rightTop": {
647-
"x": 122.94200000000001,
648-
"y": 31.180900000000065
647+
"x": 180,
648+
"y": 90
649649
}
650650
},
651651
"maxScale": "1:0.9626322617192434",
@@ -683,17 +683,17 @@ describe('mapboxgl_WebMapV2_2', () => {
683683
},
684684
"name": "quxian",
685685
"bounds": {
686-
"top": 31.180900000000065,
687-
"left": 118.02310000000011,
688-
"bottom": 27.044700000000034,
686+
"top": 90,
687+
"left": -180,
688+
"bottom": -90,
689689
"leftBottom": {
690-
"x": 118.02310000000011,
691-
"y": 27.044700000000034
690+
"x": -180,
691+
"y": -90
692692
},
693-
"right": 122.94200000000001,
693+
"right": 180,
694694
"rightTop": {
695-
"x": 122.94200000000001,
696-
"y": 31.180900000000065
695+
"x": 180,
696+
"y": 90
697697
}
698698
}
699699

test/tool/mock_mapboxgl_map.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,6 @@ CRS.defaultWKTs = {
504504
};
505505
CRS.EPSG3857 = new CRS('EPSG:3857', [-20037508.3427892, -20037508.3427892, 20037508.3427892, 20037508.3427892]);
506506
CRS.EPSG4326 = new CRS('EPSG:4326', [-180, -90, 180, 90]);
507-
CRS.EPSG4490 = new CRS('EPSG:4490', [-180, -90, 180, 90]);
508507

509508

510509
function revertCRS() {

0 commit comments

Comments
 (0)