Avoid context menu for long tap when editing on mobile
This commit is contained in:
@@ -71,9 +71,4 @@ 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