A leaflet zoomcontrol plugin with map zoom level information.
It is a forked/modified code from the nice Leaflet.zoomslider from Mattias Bengtsson (mattias.jc.bengtsson@gmail.com).
Leaflet.zoominfo simple example
- Leaflet 1.x
HTML:
<!-- add L.Control.Zoominfo js and css after Leaflet -->
<link rel="stylesheet" href="L.Control.Zoominfo.css" />
<script src="L.Control.Zoominfo.js" ></script>
JavaScript:
var map = L.map('map', {
zoominfoControl: true,
zoomControl: false,
zoom: 12,
center: [-15.597821, -56.094979]
});
L.Control.Zoominfo is distributed under the Apache 2.0 License.