Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

The leaflet zoom control extended with a button to zoom out to min zoom

branch: master
.gitignore Initial commit
L.Control.ZoomMin.css Corrected CSS class names
L.Control.ZoomMin.js Corrected CSS class names
LICENCE Initial commit Update
package.json 1.0.1
screenshot.png Initial commit


A Leaflet control that extends L.Control.Zoom. It adds a button to the zoom control that allows you to zoom to the map minimum zoom level in a single click.

Zoom min control screenshot


Add leaflet-zoom-min JS and CSS to your page:

<link rel="stylesheet" href="L.Control.ZoomMin.css" media="screen">
<script src="L.Control.ZoomMin.js"></script>

Add the zoom min control to your map:

var map ="map", {
  layers: L.tileLayer("http://{s}{z}/{x}/{y}.png"),
  center: [51.505, -0.09],
  zoom: 3,
  minZoom: 2,
  maxZoom: 16,
  zoomControl: false

map.addControl(new L.Control.ZoomMin())
Something went wrong with that request. Please try again.