Skip to content

flaviocarmo/Leaflet.zoominfo

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 

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.

About

A zoomcontrol plugin with map zoom level information.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published