Leaflet.js plugin which overrides default zoom control buttons with Twitter Bootstrap styled ones.
JavaScript
Latest commit 856e968 Oct 6, 2016 @mad-gooze committed on GitHub Update webpack.config.babel.js
Permalink
Failed to load latest commit information.
bin webpack + travis Sep 22, 2016
src webpack + travis Sep 22, 2016
.babelrc webpack + travis Sep 22, 2016
.eslintrc webpack + travis Sep 22, 2016
.gitignore webpack + travis Sep 22, 2016
.travis.yml webpack + travis Sep 22, 2016
README.md fix readme && bump url Sep 22, 2016
package.json 1.0.3 Sep 23, 2016
webpack.config.babel.js Update webpack.config.babel.js Oct 6, 2016

README.md

Leaflet.BootstrapZoom Build Status npm version

Leaflet.js plugin which overrides default zoom control buttons with Twitter Bootstrap styled ones.

This plugin adds a drop-in Twitter Bootstrap 3 styling for Leaflet.js zoom control buttons. Tested with Leaflet v1.0.0-beta.2 and v1.0.0-rc.3

Demo

Usage & Installation

  1. Include leaflet-bootstrap-zoom.min.js after Leaflet and Bootstrap:

    <script src='leaflet-bootstrap-zoom.min.js'></script>

    You can use hosted version from unpkg.com:

    <script src='//unpkg.com/leaflet-bootstrap-zoom/bin/leaflet-bootstrap-zoom.min.js'></script>
  2. Bootstrap-styled controls are added automatically.

NPM

You can also install from npm:

npm install leaflet-bootstrap-zoom --save