Skip to content

Coordinates

A small floating readout of live coordinates — the cursor position as you move the mouse, or the map center — with copy-to-clipboard.

  • id: coordinates
  • Surfaces: floating

Place it

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

Behavior

  • Shows live longitude/latitude as the cursor moves over the map (or the map-center coordinates).
  • A copy button puts the current coordinates on the clipboard.
  • On mobile it routes into the bottom sheet like other floating widgets (unless stayOnMobile is set).

The coordinates widget has no settings.ts config block — it works as soon as it's placed.