adding features

This commit is contained in:
Mike Adair
2012-06-20 13:33:20 -04:00
parent d5f9f9e8a4
commit 4ea2fe3701
8 changed files with 332 additions and 2 deletions

View File

@@ -93,8 +93,7 @@ ol.Map.DEFAULT_TILE_SIZE = 256;
*/
ol.Map.prototype.getCenter = function() {
var proj = this.getUserProjection();
this.center_ = this.center_.transform(proj);
return this.center_;
return this.center_.transform(proj);
};