Google MyMaps to GeoJSON

A small script to export data displayed in Google MyMaps as a GeoJSON file, that can be used as a bookmarklet.

How to use it

  1. Drag the button below to the bookmarks toolbar in your browser: MyMaps to GeoJSON
  2. Go to a Google MyMaps page like this one and click on the bookmark. You should get a dialog with the generated GeoJSON string, which you can copy and paste to your favourite editor.

Caveats

Source code

https://github.com/amercader/mymaps_to_geojson