Skip to content

wattnpapa/leaflet.nauticscale

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
			}));

React-Leaflet

Note: there is a React wrapper for this component in following repo, it is not maintained by the author of this repo: https://github.com/LockBlock-dev/react-leaflet-nauticsale

About

Adds a Nauticscale to Leafelat maps

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •