extra dereferencing.... copy/paste error

git-svn-id: http://svn.openlayers.org/trunk/openlayers@808 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-06-27 23:35:05 +00:00
parent 9b53d22a31
commit 563d91c4fd

View File

@@ -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 );
}