Calculating maxResolution instead of having it in defaults.

This commit is contained in:
ahocevar
2012-02-15 21:07:48 +01:00
parent 2e423df3d2
commit 262e2d5bc0
6 changed files with 25 additions and 22 deletions

View File

@@ -274,8 +274,8 @@ OpenLayers.Map = OpenLayers.Class({
/**
* APIProperty: maxResolution
* {Float} Specify if you are not using a geographic projection or Web
* Mercator and displaying the whole world.
* {Float} Required if you are not displaying the whole world on a tile
* with the size specified in <tileSize>.
*/
maxResolution: null,