CoffeeMapboxController class
Constructors
- CoffeeMapboxController({MapReadyCallback? onMapReady, MarkerTapCallback? onMarkerTap})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onMapReady ↔ MapReadyCallback?
-
getter/setter pair
- onMarkerTap ↔ MarkerTapCallback?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
centerOnUserPuck(
{double zoom = 12}) → Future< void> - Centers the map camera on the user puck. Optionally, pass a zoom level (default is current zoom).
-
disposeView(
) → Future< void> - Disposes the native map view. On iOS, this must be called explicitly to remove the native view and free resources.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeMarkers(
List< String> ids) → Future<void> -
Removes markers from the map by their
id. -
removePolygons(
List< String> ids) → Future<void> -
Removes polygons from the map by their
id. -
removePolylines(
List< String> ids) → Future<void> -
Removes polylines from the map by their
id. -
setCameraToBounds(
List< LatLng> points, {double padding = 50.0}) → Future<void> -
Immediately sets the map camera to include all the given
LatLngpoints. -
setMarkers(
List< CoffeeMapboxMarker> markers) → Future<void> - Adds or updates markers on the map.
-
setPolygons(
List< CoffeeMapboxPolygon> polygons) → Future<void> - Adds or updates polygons on the map.
-
setPolylines(
List< CoffeeMapboxPolyline> polylines) → Future<void> - Adds or updates polylines (path lines) on the map.
-
setStyle(
String styleUrl) → Future< void> - Changes the map's visual style to the given style URL. Example:
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited