MPIMap Click Event
@Serializable
Content copied to clipboard
MPIMapClickEvent is passed from MPIMapClickListner and provides information about the click event.
Constructors
Link copied to clipboard
fun MPIMapClickEvent( floatingLabels: List<Pair<MPINavigatable.MPINode, String>> = emptyList(), maps: List<MPIMap> = emptyList(), nearBlueDot: Boolean = false, paths: List<MPINavigatable.MPIPath> = emptyList(), polygons: List<MPINavigatable.MPIPolygon> = emptyList(), position: MPIMap.MPICoordinate? = null)
Content copied to clipboard
Properties
Link copied to clipboard
A List of Pairs containing MPINavigatable.MPINodes and FloatingLabels text. If no floating label was clicked, this will be empty.
Link copied to clipboard
A list of MPINavigatable.MPIPolygons corresponding to every polygon that a user's click passed through. These are in order of first to last intersected and will be empty if no polygons were clicked.