MapOptions class

the map configuration

Constructors

MapOptions({required int mapID, required String token, required Environment environment, LocationSource locationSource = LocationSource.GPS, bool offlineMode = false, String? offlineZipFileName = "", bool useJPGImageForVPS = true, int jpgImageCompressionQuality = 70, bool convertVPSImagesToGrayScale = true, int conveyingDetectorDuration = 3, double elevatorBufferRadius = 5, double linearConveyingBufferOffset = 2, VisualDebuggerConfig visualDebuggerConfig = VisualDebuggerConfig.disabled})

Properties

baseURL String
getter/setter pair
convertVPSImagesToGrayScale bool
this option allows you to convert or not VPS images to grayscale
final
conveyingDetectorDuration int
With this constant, you can control the time spent within the buffer
final
elevatorBufferRadius double
With this constant, you can control the size of the elevator buffer.
final
environment Environment
final
hashCode int
The hash code for this object.
no setterinherited
jpgImageCompressionQuality int
this option allows you to specify compression quality of JPG images used for VPS (Vision Positioning System)
final
linearConveyingBufferOffset double
With this constant, you can control the size of the linear conveying buffers (LevelChangeType = escalator or movingWalkway)
final
locationSource LocationSource
what location source (provider) to choose
final
mapID int
the map identifier
final
offlineMode bool
whether or not use the Offline mode
final
offlineZipFileName String?
the zip file name contains map data for offline mode
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String
the map token
final
useJPGImageForVPS bool
this option allows you to use JPG images for VPS (Vision Positioning System)
final
visualDebuggerConfig VisualDebuggerConfig
This config is to enable some visuals for debug purposes
final

Methods

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

Operators

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