editor: fix geometry hover
This commit is contained in:
parent
748c3ec7c4
commit
b25f6c28c6
1 changed files with 2 additions and 2 deletions
|
@ -126,8 +126,8 @@ editor = {
|
|||
editor._highlight_layer = L.layerGroup().addTo(editor.map);
|
||||
editor._editing_layer = L.layerGroup().addTo(editor.map);
|
||||
|
||||
$('#mapeditcontrols').on('mouseenter', '.itemtable tr[name]', editor._hover_mapitem_row)
|
||||
.on('mouseleave', '.itemtable tr[name]', editor._unhighlight_geometry);
|
||||
$('#mapeditcontrols').on('mouseenter', '.itemtable tr[data-name]', editor._hover_mapitem_row)
|
||||
.on('mouseleave', '.itemtable tr[data-name]', editor._unhighlight_geometry);
|
||||
|
||||
editor.map.on('editable:drawing:commit', editor._done_creating);
|
||||
editor.map.on('editable:editing', editor._update_editing);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue