mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 05:12:13 +02:00
restrict adding notes to zoom >= 16
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ export function uiModes(context) {
|
||||
function toggleNewNote() {
|
||||
return svgNotes().enabled()
|
||||
&& context.connection().authenticated()
|
||||
&& ~~context.map().zoom() >= 12;
|
||||
&& ~~context.map().zoom() >= 16;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user