A zoomcontrol plugin with map zoom level information.
JavaScript CSS
Latest commit 8e28dfd Feb 15, 2017 @flaviocarmo committed on GitHub correct url
Permalink
Failed to load latest commit information.
examples correct url Feb 15, 2017
src Rename L.Control.Zoominfo.js to src/L.Control.Zoominfo.js Feb 15, 2017
LICENSE Create LICENSE Feb 15, 2017
README.md added example link Feb 15, 2017
_config.yml Set theme jekyll-theme-slate Feb 15, 2017

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.