Leaflet.zoomdisplay is a plugin that displays the current zoom level of the map.
- Add a
<script>
tag to your map page referencing the javascript. - Add a
<link>
tag to your map page referencing the stylesheet. - Call
LControlZoomDisplay
before instanciatingL.Map
LControlZoomDisplay.default(L, {
position: 'bottomleft',
prefix: 'Zoom : ',
});