GoogleMapView constructor
const
GoogleMapView({
- Key? key,
- required CameraPosition initialCameraPosition,
- bool trafficEnabled = false,
- bool buildingsEnabled = true,
- bool myLocationEnabled = false,
- String? mapStyleJson,
- MapPadding padding = const MapPadding(),
- bool clusterEnabled = false,
- bool liteMode = false,
- bool indoorEnabled = false,
- bool indoorLevelPicker = false,
- String? mapId,
- MapCreatedCallback? onMapCreated,
- String? webApiKey,
- void onMarkerTap(
- BuildContext context,
- 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,
});