GoogleMapView<T> constructor
const GoogleMapView<T>(
- {EdgeInsets paddingBuilder(
- BuildContext context
)?,
- List? locations,
- bool useMapItemProvider = false,
- required MapDataAdapter<T> mapDataAdapter,
- dynamic cameraMoveCallback(
- CameraPosition position
)?,
- Object? location,
- double? latitude = 6.787561,
- double? longitude = -58.148308,
- double zoom = 5.0,
- void onMarkerTap(
- int index,
- T item
)?,
- dynamic mapReadyCallback(
- GoogleMapController controller
)?,
- void infoWindowTappedCallback(
- T item
)?,
- bool enableGestures = true,
- List<DistanceChangeListener> distanceChangeListeners = const [],
- bool useCompactMarkers = false,
- 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});