Long press allows modification of current vertex
This commit is contained in:
@@ -71,4 +71,9 @@ typeSelect.onchange = function() {
|
||||
addInteractions();
|
||||
};
|
||||
|
||||
// Avoid context menu for long taps when editing on mobile
|
||||
map.getTargetElement().oncontextmenu = function(e) {
|
||||
e.preventDefault();
|
||||
};
|
||||
|
||||
addInteractions();
|
||||
|
||||
Reference in New Issue
Block a user