Skip to content

Coordinates

A small floating readout of live coordinates, for the cursor or the map center, with a copy button.

  • id: coordinates
  • Surfaces: floating

Place it

"floatingWidgets": [
  {
    "slot": "top-right",
    "widgets": [{ "widgetName": "coordinates" }]
  }
]

Behavior

  • Shows longitude and latitude as the cursor moves over the map, or the coordinates of the map center. Longitude always stays between -180 and 180, even after panning across the date line.
  • The copy button puts the current coordinates on the clipboard.
  • On mobile it opens in the bottom sheet like other floating widgets, unless stayOnMobile is set.

It has no settings block; it works as soon as it's placed.