PolygonGraphic class
The data on the map is displayed as polygons
Constructors
-
PolygonGraphic({required List<
List< rings, required Symbol symbol, required Attributes attributes, void onEnter()?, void onExit()?, void onHover(bool isHovered)?})List< >double> > -
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
-
rings
→ List<
List< List< >double> > -
Each list of LatLngs creates a polygon
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- symbol → Symbol
-
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