Description
The Maps are created in Build.One using the SwatMap object. The SwatMap object is used to display a map and pinpoint specific geographical locations using a third-party map provider. Currently, we have integrated Google Maps. If you want to use it in your environment, you will need a Google Maps API key. Please contact our support for more details.
How to use it
Data content is usually provided by a data object which needs to be linked to this graphical object using a data link in the Links view of the object designer.
- Open a screen in the screen designer where you want to use the map.
- Drag&Drop the SimpleSwatMap to a panel of your choice
- Set the following attributes
- MapAddress: You have to specify the address (comma-separated with country, city, street. The name of the fields depend on the Entity of the SwatBusinessEntity which is linked to the map)
- MapName: The name of the SweetSpot
- Go to the flow tab on the left and add a link from the datasource (BusinessEntity) to the map. Use the LinkType = Display
Settings/Attributes
Attribute | Description | Example/Values |
LayoutPosition | Panel position on the screen | “a” or “b” or “c” |
name | Name of the Object | “String” |
BorderTitle | Titel of the panel border | “String” |
MapAddress | Comma separated list of attributes for the google maps api call | city,address,country |
MapName | Title to be displayed, for example, using the attribute value of "city" to display the name of the city. | city |
Back to Documentation
Back to Home Page