OSMOption class

OSMOption

this class is use to customize and configure the osm map

isPicker : (bool) if is true, map will behave as picker and will start advanced picker

userTrackingOption : (UserTrackingOption?) if is not null, used to paramter tracking of user location where you can disable/enable follow user

showZoomController : (bool) if us true, you can zoomIn zoomOut directly in the map

staticPoints : List<StaticPositionGeoPoint> if you have static point that you want to show,like static of taxi or location of your stores

userLocationMarker : change user marker or direction marker icon in tracking location

roadConfiguration : (RoadConfiguration) set color and icons marker of road

showDefaultInfoWindow : (bool) enable/disable default infoWindow of marker (default = false)

showContributorBadgeForOSM : (bool) for copyright of osm, we need to add badge in bottom of the map (default false)

Constructors

OSMOption({bool showZoomController = false, List<StaticPositionGeoPoint> staticPoints = const [], UserLocationMaker? userLocationMarker, RoadOption? roadConfiguration, ZoomOption zoomOption = const ZoomOption(), bool enableRotationByGesture = true, bool showDefaultInfoWindow = false, bool isPicker = false, bool showContributorBadgeForOSM = false, UserTrackingOption? userTrackingOption, bool useWebMapLibre = false})
const

Properties

enableRotationByGesture → bool
final
hashCode → int
The hash code for this object.
no setterinherited
isPicker → bool
final
roadConfiguration → RoadOption?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showContributorBadgeForOSM → bool
final
showDefaultInfoWindow → bool
final
showZoomController → bool
final
staticPoints → List<StaticPositionGeoPoint>
final
userLocationMarker → UserLocationMaker?
final
userTrackingOption → UserTrackingOption?
final
useWebMapLibre → bool
final
zoomOption → ZoomOption
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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