MapboxController class

Implemented types
Mixed-in types

Constructors

MapboxController({required EdgeInsets padding})

Properties

controller Future<MapboxMap>
no setter
hashCode int
The hash code for this object.
no setterinherited
mapController Completer<MapboxMap>
The completer holding the map currently attached.
no setter
moveSource MapMoveSource
What to report for a camera event arriving now.
no setterinherited
padding EdgeInsets
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settleWindow Duration
The window beginProgrammaticMove arms. Override to shorten it — a map whose camera calls are never animated settles far sooner than this.
no setterinherited

Methods

addHeatMapLayer(HeatmapLayer heatmapLayer, List<LatLng> points) Future<void>
attach(MapboxMap map) → void
Binds the MapboxMap handed out by MapWidget.onMapCreated.
beginProgrammaticMove() → void
Marks the camera events that the app's own camera update is about to produce, until the camera settles again.
inherited
dispose() → void
override
disposeMoveAttribution() → void
Drops the pending settle timeout. Call it from the controller's dispose.
inherited
fitBounds(List<LatLng> points) Future<void>
Moves the camera to fit points.
override
getCenter() Future<LatLng>
override
getPoint(LatLng latLng) → Point
getPoints(List<LatLng> latLngs) List<Point>
getViewportBounds() Future<LatLngBounds>
override
moveCamera(LatLng location, double? zoom) → void
Moves the camera to location, keeping the current zoom when zoom is null.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onCameraSettled() → void
Records that the camera came to rest.
inherited
toString() String
A string representation of this object.
inherited

Operators

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