FMTOOptions class

Constructors

FMTOOptions({int repaintIntervalMillis = 16, double textSize = 14.0, int maxTitlesCount = 30, double maxTitlesWidth = 150, int maxTitleLines = 2, int textPaintingCacheSize = 2000, int mapProjectionsCacheSize = 10000, int titlesToCheckPerFrame = 30, int fadeInAnimationTimeMillis = 300, FloatingMarkerPlacementPolicy titlePlacementPolicy = const FloatingMarkerPlacementPolicy(FloatingMarkerGravity.right, 12)})
const

Properties

fadeInAnimationTimeMillis int
Time in milliseconds of the title fade-in animation
final
hashCode int
The hash code for this object.
no setterinherited
mapProjectionsCacheSize int
Maximum number of cached coordinates by the map coordinates projections calculator
final
maxTitleLines int
Maximum lines count of floating titles
final
maxTitlesCount int
Maximum number of floating titles
final
maxTitlesWidth double
Maximum width of floating titles
final
repaintIntervalMillis int
The number of milliseconds between two repaints of the titles layer. 60 frames per seconds = 16 milliseconds between each frame.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textPaintingCacheSize int
Maximum number of cached, pre-laid out, ready to draw floating titles info, since computing the layout of text is an expensive operation
final
textSize double
Titles text size
final
titlePlacementPolicy FloatingMarkerPlacementPolicy
Titles placement option with anchor and margin
final
titlesToCheckPerFrame int
No performance drop with more markers once the maximum number of floating titles has been reached, since the library only scans for a limited number of markers per frame, which can be set with titlesToCheckPerFrame
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