This is not doing what you think it is.

This commit is contained in:
Tim Schaub committed 2012-06-22 20:25:26 +02:00
1 parent f46a7dbc2a
commit b986395358
1 file changed
+2 -2
+2 -2
View File
@@ -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_);
};
/**