Leaflet.zoominfo
Description
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).
Demo
Leaflet.zoominfo simple example
Requirements
- Leaflet 1.x
Usage instructions
Quick Guide
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]
});
License
L.Control.Zoominfo is distributed under the Apache 2.0 License.