[OpenLayers-Users] resolution of map

truongxuan quang truongxuanquang at yahoo.com
Fri Mar 16 05:33:16 EDT 2012


Hello list

There are someone could help me to write down here the equation of resolution, example in my case 

I use 

var bounds2 = new OpenLayers.Bounds(
                    -180.0,-90.0,180.0,90.0 );

with resolution as 


resolutions: [0.703125, 0.3515625, 0.17578125, 0.087890625, 0.0439453125, 0.02197265625, 0.010986328125, 0.0054931640625, 0.00274658203125, 0.001373291015625, 6.866455078125E-4, 3.4332275390625E-4, 1.71661376953125E-4, 8.58306884765625E-5, 4.291534423828125E-5, 2.1457672119140625E-5, 1.0728836059570312E-5, 5.364418029785156E-6, 2.682209014892578E-6, 1.341104507446289E-6, 6.705522537231445E-7, 3.3527612686157227E-7, 1.6763806343078613E-7, 8.381903171539307E-8, 4.190951585769653E-8, 2.0954757928848267E-8, 1.0477378964424133E-8],


what about resolutions if I change Bounding Box to 

example  new OpenLayers.Bounds(123,22,143,27)

Thank you very much for your help 

All the best,

Zuang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120316/f92bc73b/attachment-0001.html


More information about the Users mailing list