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 580e53b commit 361c8ecCopy full SHA for 361c8ec
python/jupyter_leaflet/src/controls/GeomanDrawControl.ts
@@ -335,15 +335,15 @@ export class LeafletGeomanDrawControlView extends LeafletControlView {
335
}
336
337
remove() {
338
- this.map_view.obj.pm.removeControls();
339
- this.map_view.obj.removeLayer(this.feature_group);
340
this.map_view.obj.off('pm:create');
341
this.map_view.obj.off('pm:remove');
342
this.map_view.obj.off('pm:cut');
343
this.map_view.obj.off('pm:rotateend');
344
this.map_view.obj.off('moveend');
345
this.model.off('msg:custom');
346
this.model.off('change:data');
+ this.map_view.obj.pm.removeControls();
+ this.map_view.obj.removeLayer(this.feature_group);
347
return this;
348
349
0 commit comments