[OpenLayers-Users] calculate zoom-level in PostGres ??
Jørgen S. Nicolaysen
smockmakker at gmail.com
Sat Jun 23 08:59:38 PDT 2012
Hi
Try this: add the OpenLayers.Control.Permalink() to you map.
map.addControl(new OpenLayers.Control.Permalink());
The link produced has the centerpoint and zoomlevel you need.
or, by using the command line in firebug (firefox).
map.getZoom();
map.getCenter();
Hope this helps.
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/calculate-zoom-level-in-PostGres-tp4982898p4983343.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list