GoogleMapView constructor

const GoogleMapView({
  1. Key? key,
  2. required Place initialLocation,
  3. required double initialZoom,
  4. required List<PolyLineLayer> polylines,
  5. required MapViewMode mode,
  6. dynamic onControllerReady(
    1. MapViewController
    )?,
  7. required dynamic onMapMoved(
    1. LatLng latLng,
    2. double zoom,
    3. LatLngBounds bounds,
    4. MapMoveEventType eventType,
    )?,
  8. required bool interactive,
  9. required EdgeInsets padding,
  10. required EdgeInsets buttonsPadding,
  11. required List<CustomMarker> markers,
  12. required List<CircleMarker> circleMarkers,
  13. required GoogleMapsOptions? options,
  14. required Size viewportSize,
  15. required List<HeatmapConfig> heatmapConfig,
  16. required bool showMyLocation,
})

Implementation

const GoogleMapView({
  super.key,
  required this.initialLocation,
  required this.initialZoom,
  required this.polylines,
  required this.mode,
  this.onControllerReady,
  required this.onMapMoved,
  required this.interactive,
  required this.padding,
  required this.buttonsPadding,
  required this.markers,
  required this.circleMarkers,
  required this.options,
  required this.viewportSize,
  required this.heatmapConfig,
  required this.showMyLocation,
});