editPolygon abstract method

void editPolygon(
  1. String id,
  2. Iterable<GeoCoord> points, {
  3. ValueChanged<String> onTap,
  4. Color strokeColor = const Color(0x000000),
  5. double strokeOpacity = 0.8,
  6. double strokeWeight = 1,
  7. Color fillColor = const Color(0x000000),
  8. double fillOpacity = 0.35,
})

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,
});