unbam · GitHub

Folders and files

NameName

Last commit message

Last commit date

Latest commit

History

10 Commits

Leaflet.ZoomLabel is a simple zoom level control that you can drop into your leaflet map. It displays zoom level of the map.

Usage

Include the CSS:

<link rel="stylesheet" href="L.Control.ZoomLabel.css">

Include the JavaScript:

<script src="L.Control.ZoomLabel.js"></script>

Example usage:

L.control.zoomLabel().addTo(map);

Options

position: The standard Leaflet.Control position parameter. Defaults to 'bottomleft'

Demo

http://unbam.github.io/Leaflet.ZoomLabel/

License

MIT

Read the original on github.com ↗