Am 14.01.2011 12:39, schrieb Arnd Wippermann:
try
map.layers[0].resolutions[map.getZoom()];
with
map.layers[0] as your baseLayer.
I don't know, if that always works.
Arnd
------------------------------------------------------------------------
*Von:* [email protected]
[mailto:[email protected]] *Im
Auftrag von *Jan Tappenbeck
*Gesendet:* Freitag, 14. Januar 2011 11:31
*An:* [email protected]
*Betreff:* [OpenLayers-Users] Calculate maxResolution base on zoom-level
hi !
did anybody now how to calculate the maxResolution base on the zoom-level.
knowing examples:
15.0 -> zoom 14,
30.0 -> zoom 13
did anybody now?
regards Jan :-)
|
|
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users
Hi!
i try to calculate the value but there is a diffent ...
// Bildaufloesungen
// 01 .... 78271.51695
// 02 .... 39135.758475
// 03 .... 19567.8792375
// 04 .... 9783.93961875
// 05 .... 4891.969809375
// 06 .... 2445.9849046875
// 07 .... 1222.99245234375
// 08 .... 611.496226171875
// 09 .... 305.7481103859375
// 10 .... 152.87405654296876
// 11 .... 76.43702827148438
// 12 .... 38.21851413574219
// 13 .... 19.109257067871095
// 14 .... 9.554628533935547
// 15 .... 4.777314266967774
// 16 .... 2.388657133483887
// 17 .... 1.1943285667419434
// 18 .... 0.5971642833709717
did anybody nows more ??
regards Jan :-)
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users