Skip to content

Commit 5c43e5d

Browse files
[fix]经纬网堆栈溢出,id不对 review by songym
1 parent dca38c5 commit 5c43e5d

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
@@ -85,7 +85,7 @@ const defaultOptions = {
8585
export class GraticuleLayer {
8686
constructor(options) {
8787
this.id = options && options.layerID ? options.layerID : CommonUtil.createUniqueID('graticuleLayer_');
88-
this.sourceId = this.id;
88+
this.sourceId = this.id + '_line';
8989
this.canvasId = this.id;
9090
this.options = options;
9191
this.resetEvent = this._reset.bind(this);

0 commit comments

Comments
 (0)