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

Reply via email to