All widgets

Map

Rows as points by their coordinates, coloured by category and clustered; or countries coloured by a value. Clicking a point selects its row.

MapsReads its tablev0.3.4BetaMIT

Add it to a document

In Grist, add a widget, choose Custom, then Enter Custom URL and paste:

https://gristwidgets.com/widgets/map/v0/

It takes every v0.x release, fixes and new features; a breaking change comes as a new major version, at a URL of its own. The same widget is also served at https://arthurblanchon.github.io/grist-widget-sdk/widgets/map/v0/.

What it does

People who keep places in Grist (clients, sites, stores, interventions) see them on a map. In points mode, each row with coordinates is a point, coloured by its category; points close together cluster, and clicking one selects its row, so linked widgets follow. In countries mode, each country is coloured by a value (a sum per country, or a count of rows).

Columns

ColumnTypeUse
Latitude, optionalNumericwith Longitude, places a row as a point
Longitude, optionalNumericwith Latitude
Label, optionalAnya point's name, in its card
Category, optionalAnya point's colour, with a legend
Country, optionalTextwithout coordinates: the row's country, as an ISO code (FR or FRA)
Value, optionalNumeric, Intthe number summed per country; without it, rows are counted

The mode follows the mapping: points when Latitude and Longitude are mapped, otherwise countries when Country is.

Access

read table: it reads the rows and moves the selection.

Network

The base map's tiles and fonts come from CARTO's basemaps (basemaps.cartocdn.com), mapcn's default: the widget's only network calls. The countries' shapes are Natural Earth's (public domain), served with the widget.

Changes

0.3.4 · 2026-11-28

  • Built with the latest version of grist-widget-sdk: nothing changes on screen.

0.3.3 · 2026-11-26

  • A list label or category that holds the choice "L" (a size, say) keeps it: every "L" in it was left out.

0.3.2 · 2026-11-21

  • No more linking alert ("Widget linking") in a section that follows no other, or that no section follows: the widget works either way.

0.3.1 · 2026-11-21

  • The widget loads again: Grist started serving its plugin script as a development build that this widget's security policy refuses, which left every copy on "The Grist plugin did not load". The widget now ships its own copy of Grist's plugin script, a fixed version without that problem, and runs no script from anywhere else.
  • Built with MapLibre 6.18, which fixes how icons scale with their labels and how the map keeps turning after you rotate it.

0.3.0 · 2026-11-16

  • "Report a problem": when a change fails to save, or if the widget ever stops working, a link opens this widget's bug form, filled in with its name and version. Nothing is sent from your document: you write what you choose.
  • If the widget stops working, it says so, with a button to reload it, instead of showing an empty panel.
Every version