A zoomcontrol plugin with map zoom level information.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
src
LICENSE
README.md
_config.yml

README.md

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

license

L.Control.Zoominfo is distributed under the Apache 2.0 License.