Hello OSM community. I am working on an experimental project for displaying data visualizations on the web. I am wondering where who I can access the zoom events in the javascript, depending on the zoom level I want to trigger different events on the webpage. can anyone offer a suggestion or help me find relavent documentation.? Thanks asked 23 Sep '12, 22:07 fire_mt |
You say "the Javascript", but what JS library are you using? If you've not already seen it, have a look at the switch2osm site - that includes examples for Leaflet and Openlayers, and links to the documentation for each (such as here) and other examples. As this question at Leaflet's Google Group makes clear, if it doesn't do what you want you can always change it.