setHighlight method

Future<void> setHighlight(
  1. List<MPLocation> locations,
  2. MPHighlightBehavior behavior
)

Set a collection of locations to be highlighted, this is different from setFilter in that other locations are not removed, but the highlighted locations will always be visible and will have a badge added to show that it is highlighted.

Implementation

Future<void> setHighlight(
    List<MPLocation> locations, MPHighlightBehavior behavior) {
  return MapcontrolPlatform.instance.setHighlight(locations, behavior);
}