[OpenLayers-Users] Layer Options
Erik Uzureau
euzuro at gmail.com
Mon Nov 13 13:10:15 EST 2006
This might help you:
http://trac.openlayers.org/wiki/SettingZoomLevels
On 11/13/06, ihaddad at wtwlevant.com <ihaddad at wtwlevant.com> wrote:
> i was examining one of the samples, and i couldn't understand the options
> that are passed to the layer:
>
> var options = {
> resolutions:
> [1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.00137329101],
> scales: [50000000, 10000000],
> maxResolution: 0.17578125,
> minResolution: 0.0439453125,
> maxScale: 10000000,
> minScale: 50000000,
> minResolution: "auto",
> minExtent: new OpenLayers.Bounds(-1, -1, 1, 1),
> maxResolution: "auto",
> maxExtent: new OpenLayers.Bounds(-180, -90,
> 90, 180),
> numZoomLevels: 5,
> controls: [new
> OpenLayers.Control.MouseDefaults()]
> };
> i need to know whats the resolutions and scales,and maxResolution??
> anyone????
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
More information about the Users
mailing list