Remove call to plugin.drawTools.setOptions from bookmarks
- setOptions is usually only called once: when booting drawTools - no need to call it repeatedly - known to break a third party plugin (which we don't support, but no reason to make it hard)
This commit is contained in:
parent
47ccdf8218
commit
da0c866ac3
@ -810,7 +810,6 @@
|
||||
|
||||
if(latlngs.length >= 2 && latlngs.length <= 3) {
|
||||
// TODO: add an API to draw-tools rather than assuming things about its internals
|
||||
window.plugin.drawTools.setOptions();
|
||||
|
||||
var layer, layerType;
|
||||
if(latlngs.length == 2) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user