map
The map widget allows you to edit spatial data using an interactive map. Spatial data for a single piece of geometry saves as a GeoJSON string in WGS84 projection.
Name:
mapUI: interactive map
Data type: GeoJSON string
Options:
decimals: accepts a number to specify precision of saved coordinates; defaults to 7 decimalsdefault: accepts a GeoJSON string containing a single geometry; defaults to an empty stringrequired: specify asfalseto make a field optional; defaults totruetype: accepts one string value ofPoint,LineStringorPolygon; defaults toPoint
Example:
- {label: "Location", name: "location", widget: "map" }