GoogleMapView constructor

const GoogleMapView({
  1. Key? key,
  2. required CameraPosition initialCameraPosition,
  3. bool trafficEnabled = false,
  4. bool buildingsEnabled = true,
  5. bool myLocationEnabled = false,
  6. String? mapStyleJson,
  7. MapPadding padding = const MapPadding(),
  8. bool clusterEnabled = false,
  9. bool liteMode = false,
  10. bool indoorEnabled = false,
  11. bool indoorLevelPicker = false,
  12. String? mapId,
  13. MapCreatedCallback? onMapCreated,
  14. String? webApiKey,
  15. void onMarkerTap(
    1. BuildContext context,
    2. String markerId
    )?,
})

Implementation

const GoogleMapView({
  super.key,
  required this.initialCameraPosition,
  this.trafficEnabled = false,
  this.buildingsEnabled = true,
  this.myLocationEnabled = false,
  this.mapStyleJson,
  this.padding = const MapPadding(),
  this.clusterEnabled = false,
  this.liteMode = false,
  this.indoorEnabled = false,
  this.indoorLevelPicker = false,
  this.mapId,
  this.onMapCreated,
  this.webApiKey,
  this.onMarkerTap,
});