VoyagerMapController class

Constructors

VoyagerMapController({required CameraPosition initialCameraPosition, required VoidCallback onMapInitiated, required VoyagerMapConfig voyagerMapConfig})

Properties

googleMapController → GoogleMapController
no setter
hashCode → int
The hash code for this object.
no setterinherited
initialCameraPosition → CameraPosition
final
onMapInitiated → VoidCallback
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tileOverlays → Set<TileOverlay>
final

Methods

addProtocol(VoyagerProtocol protocol) → void
deRegisterTileOverlay(TileOverlayId tileOverlayId) → Future<void>
focusOnFeatureSet({VoyagerFeatureSet? featureSet, double padding = 100.0}) → Future<void>
getFeatureMetaData({required MapsObjectId mapsObjectId}) → FeatureMetadata?
getInfoWindowMarkerNotifier() → ValueNotifier<VoyagerInfoWindow?>
getIsMapReady() → Future<bool>
getMapConfigNotifier() → ValueNotifier<VoyagerMapConfig>
getVisibleRegion() → Future<LatLngBounds>
getVoyagerFeatureSet() → VoyagerFeatureSet
initiateMaps(GoogleMapController googleMapController) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onCameraMove(CameraPosition position) → Future<void>
onLongPress(LatLng latLng) → Future<void>
onMarkerInfoWindowTap({required String markerId}) → void
onSingleTap(LatLng latLng) → Future<void>
registerTileOverlay(TileOverlay tileOverlay) → Future<void>
removeAllOverlays() → void
removeGeometry(List<MapsObject> mapsObjects, {bool autoRender = true}) → Future<void>
removeProtocol<T>() → void
resetFeatureSet() → Future<void>
toString() → String
A string representation of this object.
inherited
updateGeometries({Set<Polygon> polygons = const {}, Set<Marker> markers = const {}, Set<Polyline> polylines = const {}, bool autoRender = true}) → Future<void>
updateMetaData({Map<PolygonId, FeatureMetadata>? polygonMetadata, Map<PolygonId, FeatureMetadata>? polylineMetadata, Map<PolygonId, FeatureMetadata>? markerMetadata}) → void

Operators

operator ==(Object other) → bool
The equality operator.
inherited