selectLocationById method
Selects a location based on a id string object.
Optionally apply a MPSelectionBehavior
Use deSelectLocation or send null instead of a MPLocation to un-select the location.
Implementation
Future<void> selectLocationById(String id, [MPSelectionBehavior? behavior]) {
return MapcontrolPlatform.instance
.selectLocationById(id, behavior ?? MPSelectionBehavior.DEFAULT);
}