Skip to main content
Version: 4.60

Markers

A marker will be displayed on a map layer at a specific point.

This type is a list with the following entry types:

KeyTypeDescriptionDefault Value
"actions"ArrayOptional actions that are performed when the marker callout is tapped.null
"color"ColorColor of the marker."#45f459"
"hidden"BooleanDetermines whether or not the marker should be hidden.null
"icon"StringDefault asset used for the marker. In other words, the icon asset that will be displayed when the marker is not selected.null
"id"StringID of the marker.null
"latitude"NumberLatitude coordinate of the marker.null
"longitude"NumberLongitude coordinate of the marker.null
"selected"BooleanDetermines whether or not the marker should be selected when the map layer is initially loaded.false
"selectedIcon"StringAsset that is displayed when the user selects the marker.null
"text"StringTitle of the marker.null