Skip to content

Commit 99a23bb

Browse files
[feature][leaflet] initmap wrapLng review by songym
1 parent fd4f6e9 commit 99a23bb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/leaflet/mapping/initMap.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,8 @@ function getCRS(epsgCodeStr, { bounds, dpi, resolutions }) {
251251
const wrapLngLeft = proj4(epsgCodeStr, 'EPSG:4326').forward([bounds.left, 0], true);
252252
const wrapLngRight = proj4(epsgCodeStr, 'EPSG:4326').forward([bounds.right, 0], true);
253253
const wrapLng = [parseInt(wrapLngLeft[0]), parseInt(wrapLngRight[0])];
254-
console.log(wrapLng)
255254
let options = {
256-
// wrapLng,
255+
wrapLng,
257256
bounds: L.bounds([bounds.left, bounds.bottom], [bounds.right, bounds.top]),
258257
origin: [bounds.left, bounds.top],
259258
dpi: dpi

0 commit comments

Comments
 (0)