hide graphedges in non-graph-views
This commit is contained in:
parent
3aba387d46
commit
9c3cbdd772
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ editor = {
|
|||
geometries.splice(remove_feature, 1);
|
||||
}
|
||||
if (editor._last_graph_path === null) {
|
||||
geometries = geometries.filter(function(val) { return val.properties.type !== 'graphnode' })
|
||||
geometries = geometries.filter(function(val) { return val.properties.type !== 'graphnode' && val.properties.type !== 'graphedge' })
|
||||
}
|
||||
editor._geometries_layer = L.geoJSON(geometries, {
|
||||
style: editor._get_geometry_style,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue