1. Fields
  2. Map Field

Fields

Map Field

The Map Field allows for capturing a position on a visual map.

Basic usage

Adds a map field to the fields of an action.

loading...

Result

The field will be displayed as a map field in the form, as below: Preview of a map field in a form

The resultant data will be available in the stubpost.data as:

loading...

This can be substituted with eg. ~~stubpost.data.store_location.latlng where required.

Parameters

See fields for common field parameters like validation and conditional rendering.