remove highlight_layer later
This commit is contained in:
parent
301a08b3db
commit
afe532f150
1 changed files with 2 additions and 2 deletions
|
@ -344,9 +344,9 @@ editor = {
|
||||||
}
|
}
|
||||||
editor._bounds_layer = null;
|
editor._bounds_layer = null;
|
||||||
|
|
||||||
editor.map.removeLayer(editor._highlight_layer);
|
|
||||||
editor._highlight_layer.clearLayers();
|
|
||||||
$.getJSON(geometry_url, function(geometries) {
|
$.getJSON(geometry_url, function(geometries) {
|
||||||
|
editor.map.removeLayer(editor._highlight_layer);
|
||||||
|
editor._highlight_layer.clearLayers();
|
||||||
if (editor._geometries_layer !== null) {
|
if (editor._geometries_layer !== null) {
|
||||||
editor.map.removeLayer(editor._geometries_layer);
|
editor.map.removeLayer(editor._geometries_layer);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue