We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b940910 commit 374d4fbCopy full SHA for 374d4fb
src/mapboxgl/overlay/GraticuleLayer.js
@@ -114,7 +114,7 @@ export class GraticuleLayer {
114
id: this.id
115
});
116
this.addGraticuleLayer();
117
- this.resizeEvent = this.renderer._resizeCallback;
+ this.resizeEvent = this.renderer._resizeCallback.bind(this.renderer);
118
this.zoomendEvent = this.setVisibility.bind(this);
119
this._bindEvent()
120
}
src/maplibregl/overlay/GraticuleLayer.js
@@ -118,7 +118,7 @@ export class GraticuleLayer {
121
122
123
124
0 commit comments