Adds a Nauticscale to Leafelat maps
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist v1.1.0 Nov 15, 2016
example
src fix for values < 1 (#1) Nov 20, 2017
.codeclimate.yml init Sep 13, 2016
.gitignore extend gitignore Nov 15, 2016
.travis.yml Update .travis.yml Nov 20, 2017
CHANGELOG add CHANGELOG Nov 15, 2016
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Nov 20, 2017
Gruntfile.js init Sep 13, 2016
LICENSE init Sep 13, 2016
README.md
bower.json add bower file Nov 15, 2016
package.json

README.md

Leaflet scale control in nautic miles

GitHub version Code Climate Build Status

Extends the default leaflet scale control based on jtreml/leaflet.customscale a scale control displaying the scale in nautical miles

Package Repos

Bower

bower install --save leaflet.nauticscale

NPM

npm install --save leaflet.nauticscale

Usage

map.addControl(new L.Control.ScaleNautic({
				metric: false,
				imperial: false,
				nautic: true
			}));