deactivateHighlight method
- int? highlightId,
Deactivates highlighting for a specific highlight collection.
Removes the visual emphasis from a previously activated highlight collection, returning the highlighted elements to their normal rendering. If no highlight ID is specified, deactivates the default highlight collection (ID 0).
To deactivate all highlights at once, use deactivateAllHighlights instead.
Parameters
highlightId: The ID of the highlight collection to deactivate. Ifnull, deactivates the default collection (ID 0). Defaults tonull
See also:
- activateHighlight - Activate highlighting for landmarks
- deactivateAllHighlights - Deactivate all highlight collections
- getHighlight - Retrieve highlighted landmarks
Implementation
void deactivateHighlight({final int? highlightId}) {
objectMethod(
_pointerId,
'MapView',
'deactivateHighlight',
args: (highlightId != null) ? highlightId : <String, dynamic>{},
);
}