Fix minor typo introduced in r619. Thanx, euzuro\!

git-svn-id: http://svn.openlayers.org/trunk/openlayers@620 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Schuyler Erle
2006-06-20 14:57:29 +00:00
parent 9e8c2f3802
commit 351ebb0d52

View File

@@ -89,7 +89,7 @@ OpenLayers.Map.prototype = {
this.updateSize(); this.updateSize();
// make the entire maxExtent fix in zoom level 0 by default // make the entire maxExtent fix in zoom level 0 by default
if (this.maxResolution == null || this.resolution == "auto") { if (this.maxResolution == null || this.maxResolution == "auto") {
this.maxResolution = Math.max( this.maxResolution = Math.max(
this.maxExtent.getWidth() / this.size.w, this.maxExtent.getWidth() / this.size.w,
this.maxExtent.getHeight() / this.size.h ); this.maxExtent.getHeight() / this.size.h );