markerSelected

Typemessage
Dictionarynative.map
LibraryMap
Syntax
markerSelected <pMarkerTag>
Associationscom.livecode.widget.native.map
Summary

Sent when a map marker is selected

OSmac, ios, android, web
Platformsdesktop, mobile
Parameters
NameTypeDescription
pMarkerTag

The tag identifying this marker, i.e. the array key that was used for the marker's data.

Example
on markerSelected pMarkerTag
	local tMarkerData
	put the markers of the target into tMarkerData
	answer "Clicked" && tMarkerData[pMarkerTag]["title"]
end markerSelected
Description

The markerSelected message is sent when a marker on the map is selected by the user.