Maps
The Map widget is used to display lat, long data on a google map and allow users to select locations on a map as lat, long.

Properties

Internal Property
Description
selectedMarker
This contains the marker object selected by the user
markers
This contains the list of markers on the map
Widget Property
Description
Initial location
This property sets the default location that the map should focus on.
Default markers
This property sets an array of default markers. Every default marker will have the following format: {lat: number, long: number, title?: string, color?: string}
Center marker when clicked
This property Controls whether the clicked marker is centered on the map.
Enable search location
This property enables a search bar on the map which users can use to navigate
Enable pick location
This property allows users to select a location on the map and moves the map marker to this location. The selectedMarker field is populated with this marker.
Create new marker
This property enables scrolling within the contents of each tab
Visible
Controls widget's visibility on the page. When turned off, the widget will not be visible when the app is published
Zoom Level
Sets the default zoom level of the map
Action
Description
onMarkerClick
Sets the action to be run when the user clicks a marker on the map. See a list of supported actions.
onMarkerCreated
Sets the action to be run when the user creates a new marker on the map. See a list of supported actions
Last modified 5d ago
Copy link
Contents
Properties