MethodChannelAndroidMapTransport class final

Typed compatibility transport over the existing per-view channel.

Implemented types

Properties

backend → AndroidMapBackend
no setteroverride
events → Stream<AndroidMapEvent>
no setteroverride
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>
override
addMarker(MarkerId markerId, GeoPoint position, {Uint8List? iconBytes}) → Future<void>
override
addMarkers(Map<MarkerId, GeoPoint> markers) → Future<void>
override
addRectangle({required ShapeId shapeId, required GeoPoint center, required double distance, required int fillColor, required int borderColor, required double strokeWidth}) → Future<void>
override
attach(int viewId) → Future<void>
override
clearRoads() → Future<void>
override
clearShapes() → Future<void>
override
close() → Future<void>
override
drawRoad(RoadId roadId, List<GeoPoint> geometry, RoadOption option) → Future<void>
override
getCurrentLocation() → Future<GeoPoint>
override
getZoom() → Future<double>
override
initialize({required GeoPoint initialPosition}) → Future<void>
override
moveTo(GeoPoint position, {required bool animated}) → Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeMarker(MarkerId markerId) → Future<void>
override
removeMarkers(Iterable<MarkerId> markerIds) → Future<void>
override
removeRoad(RoadId roadId) → Future<void>
override
removeShape(ShapeId shapeId) → Future<void>
override
removeStaticPositions(StaticPositionId groupId) → Future<void>
override
setOverlaysVisible(bool visible) → Future<void>
override
setRotation(double angle, {required bool animated}) → Future<void>
override
setStaticPositions(StaticPositionId groupId, List<GeoPoint> positions, {Uint8List? iconBytes}) → Future<void>
override
setTile(CustomTile? tile) → Future<void>
override
setZoom(double zoom) → Future<void>
override
showCurrentLocation() → Future<void>
Location commands intentionally remain on the MethodChannel command plane even when backend is JNI.
override
startLocationTracking({required bool stopFollowOnDrag, required bool disableMarkerRotation, required bool useDirectionMarker, required Anchor anchor}) → Future<void>
override
startLocationUpdates() → Future<void>
override
stopLocationTracking() → Future<void>
override
stopLocationUpdates() → Future<void>
override
toString() → String
A string representation of this object.
inherited
updateMarkerIcon(MarkerId markerId, Uint8List iconBytes) → Future<void>
override

Operators

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