mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 17:52:55 +00:00
14 lines
242 B
JavaScript
14 lines
242 B
JavaScript
iD.behavior.Edit = function(context) {
|
|
function edit() {
|
|
context.map()
|
|
.minzoom(context.minEditableZoom());
|
|
}
|
|
|
|
edit.off = function() {
|
|
context.map()
|
|
.minzoom(0);
|
|
};
|
|
|
|
return edit;
|
|
};
|