flutter_osm_interface library

Classes

Address
AndroidMapAcknowledgement
AndroidMapError
AndroidMapEvent
Typed events emitted by an opt-in Android map session.
AndroidMapPlatform
Controller contract recognized by the Android platform-view widget.
AndroidMapReady
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.
AssetMarker
BaseMapController
class BaseMapController : base controller for osm flutter
BoundingBox
CircleOSM
CircleOSM : class that represent circle with be draw into map radius : (double) rayon of circle should be in meter
CustomTile
CustomTile
EventOSM<T>
GeoPoint
GeoPoint
GeoPointEvent
GeoPointLongPressEvent
GeoPointWithOrientation
IBaseMapController
BaseMapController : base controller for osm flutter
IBaseOSMController
IconAnchor
Instruction
IosMapInit
LongTapEvent
MapInitialization
MapRestoration
MarkerIcon
MarkerId
Stable identifier for a native Android map marker.
MarkerOption
MethodChannelOSM
MobileOSMPlatform
MultiRoadConfiguration
MultiRoadConfiguration
MultiRoadOption
MultiRoadOption
OSMPlatform
RectOSM
RectOSM : class that represent circle with be draw into map distance : (double) size of region, should be in meter
Region
RegionIsChangingEvent
RoadId
Stable identifier for native Android road geometry.
RoadInfo
RoadInfo
RoadOption
RoadOption
RoadTapEvent
SearchInfo
ShapeId
Stable identifier for a native Android shape.
ShapeOSM
ShapeOSM this class that represent shape will be draw into the map can be circle or rect key : (String) unique key should be given to each shape centerPoint : (GeoPoint) center point of shape color : (Color) color of the shape strokeWidth : (double) width stoke of the circle
SingleTapEvent
StaticPositionGeoPoint
StaticPositionId
Stable identifier for a native Android static-position group.
TapEvent
TileURLs
TileURLs
UserLocationEvent
UserLocationMaker
UserTrackingOption

Enums

Anchor
AndroidMapBackend
Backend requested for an opt-in Android map session.
AndroidMapTapKind
RoadType

Constants

deg2rad → const double
earthRadiusMeters → const int
iosSizeIcon → const List<double>
rad2deg → const double

Functions

capturePng(GlobalKey<State<StatefulWidget>> globalKey) → Future<Uint8List>
decodeAndroidMapEvent(int viewId, MethodCall call) → AndroidMapEvent?
Decodes the legacy callback names and the versioned typed event envelope shared by JNI commands and the MethodChannel event plane.
geoPointAsRect({required GeoPoint center, required double lengthInMeters, required double widthInMeters}) → List<GeoPoint>
geoPointAsRect

Exceptions / Errors

AndroidMapException
Typed failure produced by the opt-in Android map controller and transports.
GeoPointException
RoadException