RasterOverlayToggles

fun RasterOverlayToggles(available: List<RasterOverlaySource>, enabledIds: Set<String>, onToggle: (String) -> Unit, opacity: Map<String, Float>, onOpacityChange: (String, Float) -> Unit, modifier: Modifier = Modifier)(source)

Checkboxes for the raster overlays a map can composite over its basemap.

Both flavours show these in their layers sheet. What differs is available: the MapLibre map offers every catalogue overlay, while the Google map filters out the DEM-encoded ones, whose pixels are elevation rather than imagery and would draw as noise without a renderer that shades them.

Terrain shading is the exception to the opacity slider meaning what it says: hillshade has no opacity property in the style spec, so its renderer fades the shading's own colours instead. See MapOverlayLayers.