PolylineGraphic class

The data on the map is displayed as polylines

https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polyline.html

Currently only supports SimpleLineSymbol

Inheritance

Constructors

PolylineGraphic({required List<List<List<double>>> paths, required SimpleLineSymbol symbol, required Attributes attributes, void onEnter()?, void onExit()?, void onHover(bool isHovered)?})
const

Properties

attributes Attributes
final
hashCode int
The hash code for this object.
no setterinherited
onEnter → void Function()?
final
onExit → void Function()?
final
onHover → void Function(bool isHovered)?
final
paths List<List<List<double>>>
Each list of LatLongs creates a polyline
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol SimpleLineSymbol
final

Methods

getAttributesId() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
when<R>({required R ifPointGraphic(PointGraphic feature), required R ifPolylineGraphic(PolylineGraphic feature), required R ifPolygonGraphic(PolygonGraphic feature)}) → R
inherited

Operators

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