setHighlight

open fun setHighlight(@NonNull locations: List<MPLocation>, @NonNull behavior: MPHighlightBehavior)

Use this method to highlight a list of MPLocation. Use clearHighlight to remove the highlight

Parameters

locations

the locations to be highlighted

behavior

An MPHighlightBehavior that dictates how the map presents the highlighted locations