Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d6adbf2

Browse files
【fix】修复4214不出图问题,proj4>=2.7.5不需要转坐标顺序; review by songym
1 parent 185bb22 commit d6adbf2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

‎src/common/mapping/WebMapV2.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export function createWebMapV2Extending(SuperClass, { MapManager, mapRepo }) {
191191
}
192192
} else {
193193
wkt = mapRepo.CRS.get(this.baseProjection).WKT
194-
this._defineProj4(wkt);
194+
this._defineProj4(wkt||projection);
195195
bounds = [
196196
mapInfo.extent.leftBottom.x,
197197
mapInfo.extent.leftBottom.y,

‎test/mapboxgl/mapping/WebMapV2Spec.js‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,6 @@ describe('mapboxgl_WebMapV2', () => {
14431443
done();
14441444
};
14451445
datavizWebmap.on('mapcreatesucceeded', callback);
1446-
done();
14471446
});
14481447

14491448
it('updateOverlayLayer unique', (done) => {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /