MapPolygons class abstract

Interface of setting up polygons

Implementers

Constructors

MapPolygons()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addPolygon(String id, Iterable<GeoCoord> points, {ValueChanged<String> onTap, Color strokeColor = const Color(0x000000), double strokeOpacity = 0.8, double strokeWidth = 1, Color fillColor = const Color(0x000000), double fillOpacity = 0.35}) → void
Adds a polygon to the map by given id and points.
clearPolygons() → void
Removes all polygones from the map.
editPolygon(String id, Iterable<GeoCoord> points, {ValueChanged<String> onTap, Color strokeColor = const Color(0x000000), double strokeOpacity = 0.8, double strokeWeight = 1, Color fillColor = const Color(0x000000), double fillOpacity = 0.35}) → void
Removes and then adds a polygon to the map by given id and points.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removePolygon(String id) → void
Removes a polygon from the map by given id.
toString() String
A string representation of this object.
inherited

Operators

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