Saving drawings

Any drawings you add to a Mapbox Map will be available via the below exposed states on the Mapbox Map element:

  • GeoJSON - Polygon

  • GeoJSON - Line

  • GeoJSON - Point

You can then save the GeoJSON down to your database:

Please note that in teh ab

You will end up with something like this in your database:

Demo app

You can view an example of how to save drawings (GeoJSON) in the 'Save Drawings' section of the demo app below:

Last updated