remove highlight_layer later
@@ -344,9 +344,9 @@ editor = {
}
editor._bounds_layer = null;
+ $.getJSON(geometry_url, function(geometries) {
editor.map.removeLayer(editor._highlight_layer);
editor._highlight_layer.clearLayers();
- $.getJSON(geometry_url, function(geometries) {
if (editor._geometries_layer !== null) {
editor.map.removeLayer(editor._geometries_layer);
}
