MapInteractionConfig<T> constructor

const MapInteractionConfig<T>({
  1. void onTapItem(
    1. T item,
    2. int index
    )?,
  2. void onMapTap(
    1. TapPosition tapPosition,
    2. LatLng point
    )?,
  3. void onMapLongPress(
    1. TapPosition tapPosition,
    2. LatLng point
    )?,
  4. double? focusedZoom = 15.0,
  5. bool enableZoom = true,
  6. bool enablePan = true,
  7. bool enableRotation = false,
  8. bool showCompass = true,
  9. 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,
});