editor: dont zoom into map when closing a shape with a doubleclick
This commit is contained in:
parent
3684cf6432
commit
22b431d376
1 changed files with 3 additions and 0 deletions
|
@ -185,6 +185,9 @@ editor = {
|
|||
editor.map.on('editable:drawing:commit', editor._done_creating);
|
||||
editor.map.on('editable:editing', editor._update_editing);
|
||||
editor.map.on('editable:drawing:cancel', editor._canceled_creating);
|
||||
editor.map.on('editable:vertex:click', function () {
|
||||
editor.map.doubleClickZoom.disable();
|
||||
});
|
||||
|
||||
editor._get_geometry_types();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue