onMarkerTapped property

void Function(String markerId)? onMarkerTapped
final

Called when a marker on the map is tapped.

Receives the NeshanMarker.id of the tapped marker.

Implementation

final void Function(String markerId)? onMarkerTapped;