MapInteractionConfig<T> constructor
const
MapInteractionConfig<T> ({
- void onTapItem(
- T item,
- int index
- void onMapTap(
- TapPosition tapPosition,
- LatLng point
- void onMapLongPress(
- TapPosition tapPosition,
- LatLng point
- double? focusedZoom = 15.0,
- bool enableZoom = true,
- bool enablePan = true,
- bool enableRotation = false,
- bool showCompass = true,
- bool keepAlive = true,
Implementation
const MapInteractionConfig({
this.onTapItem,
this.onMapTap,
this.onMapLongPress,
this.focusedZoom = 15.0,
this.enableZoom = true,
this.enablePan = true,
this.enableRotation = false,
this.showCompass = true,
this.keepAlive = true,
});