updateGroundOverlays method
void
updateGroundOverlays(
- GroundOverlayUpdates updates
Updates the set of GroundOverlays.
Implementation
void updateGroundOverlays(GroundOverlayUpdates updates) {
assert(_groundOverlaysController != null, 'Cannot update tile overlays after dispose().');
_groundOverlaysController?.addGroundOverlays(updates.objectsToAdd);
_groundOverlaysController?.changeGroundOverlays(updates.objectsToChange);
_groundOverlaysController?.removeGroundOverlays(
updates.objectIdsToRemove.cast<GroundOverlayId>(),
);
}