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:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user