Skip to content

wattnpapa/leaflet.mouseCoordinate

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
 
 
doc
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

GitHub version Code Climate Build Status

Installation

Manuell

Download the Source and add it into your Project Folder

Bower

bower install --save leaflet.mouseCoordinate

get this with bower

Usage

L.control.mouseCoordinate({utm:true,utmref:true}).addTo(map);

Options

Option Type Default Description
gps Boolean true Show GPS Coordinates in 1 Form: ddd.ddddd
gpsLong Boolean true Show GPS Coordinates in 3 Forms: ddd.ddddd / ddd mm.mmm / ddd mm ss.s
utm Boolean false Show [UTM Coordinates] (https://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system)
utmref Boolean false Show [UTMREF/MGRS/USNG Coordinates] (https://en.wikipedia.org/wiki/Military_grid_reference_system)
qth Boolean false Show [QTH/Maidenhead Locator] (https://en.wikipedia.org/wiki/Maidenhead_Locator_System)
nac Boolean false Show [Natural Area Code] (https://en.wikipedia.org/wiki/Natural_Area_Code)
position String 'bottomright' The initial position of the control (one of the map corners). See control positions.