onPoiTap property
onPoiTap
gets called when a valid point on the map is clicked.
When the clicked place is not valid point, onTap
gets called.
The Poi
contains the name and latitude and longitude of the valid point.
Implementation
final ArgumentCallback<Poi>? onPoiTap;