GoogleMapView<T> constructor

const GoogleMapView<T>(
  1. {EdgeInsets paddingBuilder(
    1. BuildContext context
    )?,
  2. List? locations,
  3. bool useMapItemProvider = false,
  4. required MapDataAdapter<T> mapDataAdapter,
  5. dynamic cameraMoveCallback(
    1. CameraPosition position
    )?,
  6. Object? location,
  7. double? latitude = 6.787561,
  8. double? longitude = -58.148308,
  9. double zoom = 5.0,
  10. void onMarkerTap(
    1. int index,
    2. T item
    )?,
  11. dynamic mapReadyCallback(
    1. GoogleMapController controller
    )?,
  12. void infoWindowTappedCallback(
    1. T item
    )?,
  13. bool enableGestures = true,
  14. List<DistanceChangeListener> distanceChangeListeners = const [],
  15. bool useCompactMarkers = false,
  16. Key? key}
)

Implementation

const GoogleMapView(
    {this.paddingBuilder,
    this.locations,
    this.useMapItemProvider = false,
    required this.mapDataAdapter,
    this.cameraMoveCallback,
    this.location,
    this.latitude = 6.787561,
    this.longitude = -58.148308,
    this.zoom = 5.0,
    this.onMarkerTap,
    this.mapReadyCallback,
    this.infoWindowTappedCallback,
    this.enableGestures = true,
    this.distanceChangeListeners = const [],
    this.useCompactMarkers = false,
    super.key});