rollback 1295 -- prematurely committed

git-svn-id: http://svn.openlayers.org/branches/openlayers/2.0@1296 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-08-17 20:27:41 +00:00
parent d2601b3684
commit 4df6b8aa2b
2 changed files with 18 additions and 44 deletions

View File

@@ -706,6 +706,11 @@ OpenLayers.Map.prototype = {
if (this.baseLayer != null) {
maxResolution = this.baseLayer.getMaxResolution();
}
if (maxResolution == null) {
maxResolution = this.maxResolution;
}
return maxResolution;
},