editPolygon abstract method
void
editPolygon(})
Removes and then adds a polygon to the map by given id
and points
.
Where id
must be unique.
If id
have been already added, addition of a new polygon will be ignored.
Implementation
void 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,
});