It turns out it's pretty easy to get maps in Notion. Notion will hopefully add a Github gist-like ability to edit maps in the code block (like they did with mermaid diagrams), but until then...

Creating Maps with geojson.io

geojson.io | powered by Mapbox

Loading Public Data into geojson.io

Geojson.io can load data from a number of sources:

URL API Example
data=data:application/json [http://geojson.io/#data=data:application/json,{"type"%3A"LineString"%2C"coordinates"%3A[[0%2C0]%2C[10%2C10]]}](http://geojson.io/#data=data:application/json,{"type"%3A"LineString"%2C"coordinates"%3A[[0%2C0]%2C[10%2C10]]})
data=data:text/x-url http://geojson.io/#data=data:text/x-url,https%3A%2F%2Fraw.githubusercontent.com%2Fcodeforgermany%2Fclick_that_hood%2Fmain%2Fpublic%2Fdata%2Fcalifornia-counties.geojson
id=gist http://geojson.io/#id=gist:tmcw/e9a29ad54dbaa83dee08&map=8/39.198/-76.981
id=github http://geojson.io/#id=github:benbalter/dc-wifi-social/blob/master/bars.geojson&map=14/38.9140/-77.0302

Editing map data

Hrk

Step one:

  1. Use geojson.io to create a map.

  2. Copy that code into a GitHub file or Gist

    Such as https://gist.github.com/sgregson/383a7194f24f0dc4d2801cc34e47e274

  3. Embed that into notion

https://gist.github.com/sgregson/383a7194f24f0dc4d2801cc34e47e274