This is not doing what you think it is.
This commit is contained in:
@@ -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