updatePolygons method
void
updatePolygons(
- PolygonUpdates updates
Applies PolygonUpdates
to the currently managed polygons.
Implementation
void updatePolygons(PolygonUpdates updates) {
assert(
_polygonsController != null, 'Cannot update polygons after dispose().');
_polygonsController?.addPolygons(updates.polygonsToAdd);
_polygonsController?.changePolygons(updates.polygonsToChange);
_polygonsController?.removePolygons(updates.polygonIdsToRemove);
}