A versatile and lightweight toolkit for building a simple web map.
This project is maintained by qqnluaq
Adds a coordinate display to the bottom-right corner of the map. This display shows the current latitude and longitude of the mouse cursor.
This is default configuration for the Coordinate tool (click on a property name for more information):
{ "tools": [ { "type": "coordinate", "enabled": false, } ] }
"type"
: String
(Required)
The name of the type of this tool. Identifies the tool in the configuration, this is required.
Must be one of these values:
"about"
,
"basemaps"
,
"bespoke"
,
"coordinate"
,
"directions"
,
"identify"
,
"layers"
,
"legend"
,
"list-menu"
,
"location"
,
"markup"
,
"measure"
,
"minimap"
,
"pan"
,
"query"
,
"scale"
,
"search"
,
"select"
,
"shortcut-menu"
,
"toolbar"
,
"version"
,
or
"zoom"
.
"enabled"
: Boolean
If true
then the tool will be available when the map starts.
If false
, then the tool will not be available.