Skip to content

EASYMOUNTAIN/Leaflet.zoomdisplay

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leaflet.zoomdisplay

Leaflet.zoomdisplay is a plugin that displays the current zoom level of the map.

See a demo

Usage

  1. Add a <script> tag to your map page referencing the javascript.
  2. Add a <link> tag to your map page referencing the stylesheet.
  3. Call LControlZoomDisplay before instanciating L.Map
LControlZoomDisplay.default(L, {
  position: 'bottomleft',
  prefix: 'Zoom : ',
});

About

A plugin to show the current zoom level of a Leaflet map

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 48.1%
  • HTML 43.3%
  • CSS 8.6%