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
- Drag the button below to the bookmarks toolbar in your browser: MyMaps to GeoJSON
- 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
- This relies on undocumented internal variables which are bound to change or disappear at any time
- Only points are currently supported (no lines or polygons)