MapZoomControls

fun MapZoomControls(onZoomIn: () -> Unit, onZoomOut: () -> Unit, modifier: Modifier = Modifier)(source)

Zoom in and out, stacked, for the corner of a map.

Where Google Maps puts its own: MapUiSettings(zoomControlsEnabled = true) draws a vertical pair against the lower trailing edge, clear of the top of the map, and every Google-flavor map surface in this app turns it on. MapLibre publishes no zoom ornament at all, so its maps draw this instead — placed the same way, so the two flavors feel alike and the reachable half of a phone screen is where the frequent control lives.

Separate from MapControlsOverlay on purpose. That toolbar holds the occasional controls — filter, basemap, layers — and belongs at the top; zoom belongs where the thumb is.