android library
Typed Android controller and MethodChannel fallback APIs.
The optional JNI command transport is provided by
package:flutter_osm_android_jni.
Classes
- AndroidMapAcknowledgement
- AndroidMapCamera
- Typed camera capability for AndroidMapController.
- AndroidMapController
- Opt-in Android controller introduced alongside the legacy map controller.
- AndroidMapError
- AndroidMapEvent
- Typed events emitted by an opt-in Android map session.
- AndroidMapLayers
- Base tile and overlay-layer configuration.
- AndroidMapLocation
- Foreground Android location capability.
- AndroidMapMarkers
- Stable-ID marker capability for AndroidMapController.
- AndroidMapPlatform
- Controller contract recognized by the Android platform-view widget.
- AndroidMapReady
- AndroidMapRoads
- Stable-ID road geometry. Route fetching stays in Dart; only coordinates are sent to the Android renderer.
- AndroidMapShapes
- Circle and rectangle overlays keyed by ShapeId.
- AndroidMapStaticPositions
- Bulk static-position groups, optionally sharing one encoded icon.
- AndroidMapTap
- AndroidMapTransport
- Command/event boundary used by the opt-in Android controller.
- AndroidMarkerTap
- AndroidRegionChanged
- AndroidUserLocationChanged
- Foreground user-location update delivered through the MethodChannel event plane for both Android backends.
- MarkerId
- Stable identifier for a native Android map marker.
- MethodChannelAndroidMapTransport
- Typed compatibility transport over the existing per-view channel.
- RoadId
- Stable identifier for native Android road geometry.
- ShapeId
- Stable identifier for a native Android shape.
- StaticPositionId
- Stable identifier for a native Android static-position group.
Enums
- AndroidMapBackend
- Backend requested for an opt-in Android map session.
- AndroidMapTapKind
Functions
-
createDefaultAndroidMapTransport(
AndroidMapBackend backend) → AndroidMapTransport - Creates the transport bundled with the endorsed Android implementation.
Typedefs
-
AndroidLocationPermissionRequester
= Future<
bool> Function() - AndroidMapTransportFactory = AndroidMapTransport Function(AndroidMapBackend backend)
Exceptions / Errors
- AndroidMapException
- Typed failure produced by the opt-in Android map controller and transports.