Skip to content

Commit 3b60c3d

Browse files
[fix]mapbox端经纬网去掉proj4 review by songym
1 parent 7efdd0f commit 3b60c3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mapboxgl/overlay/GraticuleLayer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ export class GraticuleLayer {
222222

223223
_getDefaultExtent(extent, map = this.map) {
224224
const crs = (map.getCRS && map.getCRS()) || {};
225-
let { epsgCode, extent: crsExtent } = crs;
225+
let { extent: crsExtent } = crs;
226226
if (!crsExtent) {
227227
crsExtent = [-180, -85.05119, 180, 85.05119];
228228
}

0 commit comments

Comments
 (0)