[OpenLayers-Users] maxResolution change
Schuyler Erle
sderle at metacarta.com
Mon Jun 19 16:18:58 CDT 2006
* On 19-Jun-2006 at 2:43PM EDT, Christopher Schmidt said:
>
> The negative of this is that the whole world does not, by default, fit
> into the element that you're viewing it in anymore -- instead it fits
> into a 256 pixel tile. This may break behavior for some applications. To
> get the old behavior back, use:
>
> new OpenLayers.Map('mapdiv', {maxResolution:null});
>
> in your Map Constructor.
You can also say {maxResolution: "auto"} ... which might make your
code a little more readable, anyway.
SDE
More information about the Users
mailing list