LineManager class
Properties
allLayerProperties
→ List <LayerProperties >
Layer property definitions (one per backing style layer). Override in
subclasses to specify visual styling for data-driven attributes.
no setter override
annotations
→ Set <Line >
Current set of managed annotations.
no setter inherited
controller
→ VTMapController
final inherited
enableInteraction
→ bool
If false, the manager disables user interaction (e.g. dragging) for
its annotations.
final inherited
hashCode
→ int
The hash code for this object.
no setter inherited
id
→ String
Base identifier of the manager. Use layerIds for concrete layer ids.
final inherited
isInitialized
→ bool
Tracks whether the manager and its layers were initialized.
no setter inherited
layerIds
→ List <String >
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
selectLayer
→ int Function(Line ) ?
Optional function used to select which layer/source a given annotation
should live in (e.g. pattern vs non-pattern lines). If null, a single
layer/source is used.
final inherited
Methods
add (Line annotation )
→ Future <void >
Adds a single annotation.
inherited
addAll (Iterable <Line > annotations )
→ Future <void >
Adds multiple annotations (faster than adding one-by-one).
inherited
byId (String id )
→ Line ?
Returns the annotation with the given id, or null if not found.
inherited
clear ()
→ Future <void >
Removes all annotations.
inherited
dispose ()
→ Future <void >
Fully dispose resources (layers & sources). Manager is unusable after.
inherited
initialize ()
→ Future <void >
inherited
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove (Line annotation )
→ Future <void >
Removes a single annotation.
inherited
removeAll (Iterable <Line > annotations )
→ Future <void >
Removes multiple annotations.
inherited
set (Line annotation )
→ Future <void >
Updates (re-sets) an existing annotation quickly by only replacing its
underlying GeoJSON feature if it remains on the same logical layer.
inherited
toString ()
→ String
A string representation of this object.
inherited