I am creating a Heat Map with Open Street Map (OSM). When I zoom in I am not sure what zoom level I am at and at which coordinate position. I wanted to get those numbers for future reference if I want to get there directly.
Is there a Open Street Map API or hack that can return the zoom level of the map?
How would I do that?
There is getZoom() method in OpenStreetMap API which can be used to get current zoom level. For more information see http://wiki.openstreetmap.org/wiki/OpenLayers
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With