keyByGroundOverlayId function
Converts an Iterable of GroundOverlay to a Map of GroundOverlayId -> GroundOverlay.
Implementation
Map<GroundOverlayId, GroundOverlay> keyByGroundOverlayId(
Iterable<GroundOverlay> groundOverlays,
) {
return keyByMapsObjectId<GroundOverlay>(
groundOverlays,
).cast<GroundOverlayId, GroundOverlay>();
}