1

i tried to get a callback on action like deselect Marker. but in properties the Marker, i found only onTap callback. how i can resolve this problem? my init of the marker for exaample

  Marker createMarkerFromPlace(Place place, void Function(String uid) onTap) {
    return Marker(
        markerId: MarkerId(place.uuid),
        draggable: false,
        visible: true,
        infoWindow: InfoWindow(
          title: place.name,
          snippet: place.vicinity
        ),
        position: LatLng(
          place.geometry.location.lat,
          place.geometry.location.lng
        ),
        onTap: (){ onTap(place.uuid); }
    );
  }
EvGeniy Ilyin
  • 1,817
  • 1
  • 21
  • 38

0 Answers0