groundOverlayToMap function

Map<GroundOverlayId, GroundOverlay> groundOverlayToMap(
  1. Iterable<GroundOverlay> groundOverlays
)

Implementation

Map<GroundOverlayId, GroundOverlay> groundOverlayToMap(
    Iterable<GroundOverlay> groundOverlays) {
  return Map<GroundOverlayId, GroundOverlay>.fromEntries(groundOverlays.map(
      (GroundOverlay groundOverlay) => MapEntry<GroundOverlayId, GroundOverlay>(
          groundOverlay.groundOverlayId, groundOverlay.clone())));
}