This is not doing what you think it is.

This commit is contained in:
Tim Schaub
2012-06-22 20:25:26 +02:00
parent f46a7dbc2a
commit b986395358
+2 -2
View File
@@ -408,11 +408,11 @@ ol.Map.prototype.moveByPx = function(dx, dy) {
}; };
ol.Map.prototype.zoomIn = function() { ol.Map.prototype.zoomIn = function() {
this.setZoom(this.zoom_++); this.setZoom(++this.zoom_);
}; };
ol.Map.prototype.zoomOut = function() { ol.Map.prototype.zoomOut = function() {
this.setZoom(this.zoom_--); this.setZoom(--this.zoom_);
}; };
/** /**