From 563d91c4fdc82530b6b77fe300256334c1a3856a Mon Sep 17 00:00:00 2001 From: euzuro Date: Tue, 27 Jun 2006 23:35:05 +0000 Subject: [PATCH] extra dereferencing.... copy/paste error git-svn-id: http://svn.openlayers.org/trunk/openlayers@808 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Map.js b/lib/OpenLayers/Map.js index 8273ca3407..44154856e4 100644 --- a/lib/OpenLayers/Map.js +++ b/lib/OpenLayers/Map.js @@ -195,7 +195,7 @@ OpenLayers.Map.prototype = { // if (this.maxResolution == "auto") { var maxExtent = this.getMaxExtent(); - var viewSize = this.map.getSize(); + var viewSize = this.getSize(); this.maxResolution = Math.max(maxExtent.getWidth() / viewSize.w, maxExtent.getHeight() / viewSize.h ); }