removeInteraction method

  1. @experimental
void removeInteraction(
  1. String interactionID
)

Remove an interaction from the map with the given interactionID that was passed with .addInteraction(interaction, interactionID)

Implementation

@experimental
void removeInteraction(String interactionID) {
  _interactionsMap.interactions.remove(interactionID);
  _mapboxMapsPlatform.removeInteractionsListeners(interactionID);
}