osm_flutter
osm_flutter copied to clipboard
No method to listen click on Marker
await _mapController?.addMarker(
GeoPoint(latitude: 55.809845, longitude: 37.167080),
markerIcon: const MarkerIcon(
key: Key('1'),
iconWidget: MapClusterIcon(),
),
);
await _mapController?.addMarker(
GeoPoint(latitude: 55.751255, longitude: 37.618423),
markerIcon: const MarkerIcon(
key: Key('2'),
iconWidget: MapMarkerIcon(),
),
);
I have already added two markers, but I didn't find any method to listen click on marker. Is it possible to receive click on Marker?
I also can use _mapController?.listenerMapSingleTapping, but it will give me GeoPoints instead of information about marker