mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 23:44:47 +02:00
@@ -297,8 +297,8 @@ iD.Map = function(context) {
|
||||
return redraw();
|
||||
};
|
||||
|
||||
map.zoomIn = function() { return map.zoom(Math.ceil(map.zoom() + 1)); };
|
||||
map.zoomOut = function() { return map.zoom(Math.floor(map.zoom() - 1)); };
|
||||
map.zoomIn = function() { return map.zoom(~~map.zoom() + 1); };
|
||||
map.zoomOut = function() { return map.zoom(~~map.zoom() - 1); };
|
||||
|
||||
map.center = function(loc) {
|
||||
if (!arguments.length) {
|
||||
|
||||
Reference in New Issue
Block a user