GM - Map Record
(gmpkg:MapComponent)
Documentation
GM - Google Map component is used to display Google map view of location. The component can be configured to map the current object or any related object. The location could be on a standard or a custom object.
Use case: Display a property on Google Maps for a real estate company.
Specification
Record Id Field *
String
The name of the lookup field to maps.
Set this property to recordId to use the current recordId.
Place Fields *
String
',' Separated list of fields to build the address. Ex BillingStreet,BillingCity,BillingState. This property is useful for place view only.
Latitude Field *
String
Latitude Field. Ex BillingLatitude. This property is useful for street view only.
Longitude Field *
String
Longitude Field. Ex BillingLongitude. This property is useful for street view only.
Maps View
String
Maps default view place | streetview. The user can still switch to a different view if Enable Switch View is checked.
Enable Switch View
Boolean
Check this option to allow the user to switch between place and street view.
Maps Height
Integer
The height of the map.
Custom Label
String
The title of the map.
Custom Icon
String
The card icon. All lightning icons are supported.
Show Border
Boolean
Check this option to add a border to the card.
API Reference
Last updated