Command/event boundary used by the opt-in Android controller.
Backend selection is final after attach. Stateful commands are never replayed through another transport after initialization begins.
Properties
- backend → AndroidMapBackend
-
no setter
-
events
→ Stream<
AndroidMapEvent> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addCircle(
{required ShapeId shapeId, required GeoPoint center, required double radius, required int fillColor, required int borderColor, required double strokeWidth}) → Future< void> -
addMarker(
MarkerId markerId, GeoPoint position, {Uint8List? iconBytes}) → Future< void> -
addMarkers(
Map< MarkerId, GeoPoint> markers) → Future<void> -
addRectangle(
{required ShapeId shapeId, required GeoPoint center, required double distance, required int fillColor, required int borderColor, required double strokeWidth}) → Future< void> -
attach(
int viewId) → Future< void> -
clearRoads(
) → Future< void> -
clearShapes(
) → Future< void> -
close(
) → Future< void> -
drawRoad(
RoadId roadId, List< GeoPoint> geometry, RoadOption option) → Future<void> -
getCurrentLocation(
) → Future< GeoPoint> -
getZoom(
) → Future< double> -
initialize(
{required GeoPoint initialPosition}) → Future< void> -
moveTo(
GeoPoint position, {required bool animated}) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeMarker(
MarkerId markerId) → Future< void> -
removeMarkers(
Iterable< MarkerId> markerIds) → Future<void> -
removeRoad(
RoadId roadId) → Future< void> -
removeShape(
ShapeId shapeId) → Future< void> -
removeStaticPositions(
StaticPositionId groupId) → Future< void> -
setOverlaysVisible(
bool visible) → Future< void> -
setRotation(
double angle, {required bool animated}) → Future< void> -
setStaticPositions(
StaticPositionId groupId, List< GeoPoint> positions, {Uint8List? iconBytes}) → Future<void> -
setTile(
CustomTile? tile) → Future< void> -
setZoom(
double zoom) → Future< void> -
showCurrentLocation(
) → Future< void> - Location commands intentionally remain on the MethodChannel command plane even when backend is JNI.
-
startLocationTracking(
{required bool stopFollowOnDrag, required bool disableMarkerRotation, required bool useDirectionMarker, required Anchor anchor}) → Future< void> -
startLocationUpdates(
) → Future< void> -
stopLocationTracking(
) → Future< void> -
stopLocationUpdates(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
-
updateMarkerIcon(
MarkerId markerId, Uint8List iconBytes) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited