parent
86bec261dc
commit
eaf65e005b
@ -754,7 +754,7 @@
|
||||
});
|
||||
|
||||
if(latlngs.length >= 2 && latlngs.length <= 3) {
|
||||
// TODO: add an API to draw-tools rather than assuming things about it's internals
|
||||
// TODO: add an API to draw-tools rather than assuming things about its internals
|
||||
window.plugin.drawTools.setOptions();
|
||||
|
||||
var layer, layerType;
|
||||
@ -784,7 +784,7 @@
|
||||
}
|
||||
|
||||
if(view) {
|
||||
map.fitBounds(newItem.getBounds());
|
||||
map.fitBounds(layer.getBounds());
|
||||
}
|
||||
}
|
||||
else{
|
||||
|
Loading…
x
Reference in New Issue
Block a user