keyTileOverlayId function
Converts an Iterable of TileOverlay in a Map of TileOverlayId -> TileOverlay.
Implementation
Map<TileOverlayId, TileOverlay> keyTileOverlayId(
Iterable<TileOverlay> tileOverlays) {
return keyByMapsObjectId<TileOverlay>(tileOverlays)
.cast<TileOverlayId, TileOverlay>();
}