Skip to content

PowerPan/leaflet.nauticscale

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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