Installation
Manuell
Download the Source and add it into your Project Folder
Bower
bower install --save leaflet.mouseCoordinate
Usage
L.control.mouseCoordinate({utm:true,utmref:true}).addTo(map);
Options
Option | Type | Default | Description |
---|---|---|---|
gps | Boolean | true | Show GPS Coordinates in 3 Forms: ddd.ddddd / ddd mm.mmm / ddd mm ss.s |
utm | Boolean | false | Show UTM Coordinates |
utmref | Boolean | false | Show UTMREF/MGRS Coordinates |
qth | Boolean | false | Show QTH/Maidenhead Locator |
nac | Boolean | false | Show Natural Area Code |
position | String | 'bottomright' | The initial position of the control (one of the map corners). See control positions. |