Hi,

the default for the resolution at zoom level 0 is the map size in map
units (e.g. 360 degrees) divided by the default tile size (256
pixels). In your example, the 1st resolution is for zoom level 1.

Andreas.

On Fri, Mar 16, 2012 at 10:33 AM, truongxuan quang
<[email protected]> wrote:
> 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
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to