I downloaded the Leaflet 0.7.3 of http://leafletjs.com/download.html What do I add a file leaflet.js? asked 05 May '15, 22:05 Meku13 aseerel4c26 ♦ |
You can get zoom level by map.getZoom() on zoom-level-change (see map-properties) and only if 17 or 18 you add/show your markers else you give an hint to zoom in answered 08 May '15, 15:38 Harald Hartmann |
For info, there's a switch2osm page about this that might help:
https://switch2osm.org/using-tiles/getting-started-with-leaflet/
This is AJAX I would prefer in JavaScript
what about searching or asking on the leafletjs googlegroup mailinglist???
https://groups.google.com/forum/#!forum/leaflet-js