[OpenLayers-Users] Layer Options

ihaddad at wtwlevant.com ihaddad at wtwlevant.com
Mon Nov 13 11:36:34 EST 2006


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????




More information about the Users mailing list