mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-29 07:06:04 +02:00
Move editable() to be with the other map things
This commit is contained in:
+1
-3
@@ -194,9 +194,6 @@ window.iD = function () {
|
||||
});
|
||||
};
|
||||
|
||||
context.editable = function() {
|
||||
return map.editable();
|
||||
};
|
||||
|
||||
/* Behaviors */
|
||||
context.install = function(behavior) {
|
||||
@@ -228,6 +225,7 @@ window.iD = function () {
|
||||
context.map = function() { return map; };
|
||||
context.layers = function() { return map.layers; };
|
||||
context.surface = function() { return map.surface; };
|
||||
context.editable = function() { return map.editable(); };
|
||||
context.mouse = map.mouse;
|
||||
context.extent = map.extent;
|
||||
context.pan = map.pan;
|
||||
|
||||
Reference in New Issue
Block a user