Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

Commit

Permalink
Tweaked map zoom method to return current zoom level
Browse files Browse the repository at this point in the history
  • Loading branch information
DamonOehlman committed Sep 23, 2011
1 parent 449670f commit 8ff11f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/graphics/map.js
Expand Up @@ -14,7 +14,7 @@ var Map = function(container, params) {


zoombar: {} zoombar: {}
}, params); }, params);

/* internals */ /* internals */


var lastBoundsChangeOffset = new GeoXY(), var lastBoundsChangeOffset = new GeoXY(),
Expand Down Expand Up @@ -128,7 +128,7 @@ var Map = function(container, params) {
else { else {
return zoomLevel; return zoomLevel;
} // if..else } // if..else
} // zoom } // zoom


var _self = _extend(new View(container, params), { var _self = _extend(new View(container, params), {
XY: GeoXY, XY: GeoXY,
Expand Down

0 comments on commit 8ff11f9

Please sign in to comment.