selectLocation

open fun selectLocation(@Nullable location: MPLocation, behavior: MPSelectionBehavior)

Selects a location based on a MPLocation object. Use deSelectLocation or send null instead of a MPLocation to un-select the location

Parameters

location

A MPLocation. If null, the currently selected location (if any) is deselected

behavior

An MPSelectionBehavior that dictates how the map presents the selected location


open fun selectLocation(locationId: String, behavior: MPSelectionBehavior)

Selects a location. Use deSelectLocation to un-select the location

Parameters

locationId

The id of the location

behavior

An MPFilterBehavior that dictates how the map presents the selected location