Simple navigation toolbar for Leaflet.
JavaScript CSS
Latest commit c913f6c Nov 2, 2016 @davidchouse committed on GitHub Fixes #3
Fixing bug that prevented execution in strict mode
Failed to load latest commit information.
src Fixes #3 Nov 2, 2016
LICENSE License Jun 17, 2014 Updating read with bower installation instructions. Jul 21, 2015
bower.json updating bower main files Aug 17, 2016
screenshot.png Adding screenshot Jun 17, 2014


Simple navigation toolbar for Leaflet.


Leaflet.NavBar Screenshot

Install via Bower

bower install leaflet-navbar

Using the plugin

The default state for the control is just below the zoom control. This will allow map users to navigate forward and back in the map's view history as well as navigate to a home view.


Options for initialising the Leaflet.NavBar control.

Option Type Default Description
position String 'topleft' The initial position of the control.
center L.LatLng Map's Current Position The center point for the home view.
zoom Number 0 The zoom value for the home view.