BaseMapController class abstract

class BaseMapController : base controller for osm flutter

initMapWithUserPosition : (bool) if is true, map will show your current location

initPosition : (GeoPoint) if it isn't null, the map will be pointed at this position

Implementers

Constructors

BaseMapController({UserTrackingOption? initMapWithUserPosition, GeoPoint? initPosition, BoundingBox? areaLimit = const BoundingBox.world(), CustomTile? customTile, bool useExternalTracking = false})

Properties

areaLimit BoundingBox?
final
customTile CustomTile?
final
hashCode int
The hash code for this object.
no setterinherited
initMapWithUserPosition UserTrackingOption?
finalinherited
initPosition GeoPoint?
finalinherited
isAllLayersVisible bool
no setter
listenerMapLongTapping ValueListenable<GeoPoint?>
no setterinherited
listenerMapSingleTapping ValueListenable<GeoPoint?>
no setterinherited
listenerRegionIsChanging ValueListenable<Region?>
no setterinherited
listenerRoadTapped ValueListenable<RoadInfo?>
no setterinherited
osmBaseController → IBaseOSMController
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useExternalTracking bool
final

Methods

addObserver(OSMMixinObserver osmMixinObserver) → void
inherited
dispose() → void
implement this method,should be end with super.dispose()
init() → void
implement this method,should be start with super.init()
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeObserver(OSMMixinObserver osmMixinObserver) → void
inherited
toggleLayersVisibility() Future<void>
toggleLayersVisibility
toString() String
A string representation of this object.
inherited

Operators

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