This is not doing what you think it is.
This commit is contained in:
1 parent
f46a7dbc2a
commit
b986395358
1 file changed
+2
-2
+2
-2
@@ -408,11 +408,11 @@ ol.Map.prototype.moveByPx = function(dx, dy) {
|
||||
};
|
||||
|
||||
ol.Map.prototype.zoomIn = function() {
|
||||
this.setZoom(this.zoom_++);
|
||||
this.setZoom(++this.zoom_);
|
||||
};
|
||||
|
||||
ol.Map.prototype.zoomOut = function() {
|
||||
this.setZoom(this.zoom_--);
|
||||
this.setZoom(--this.zoom_);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user