pub fn map(
id: impl Into<String>,
center_lat: f64,
center_lng: f64,
zoom: f64,
) -> WidgetExpand description
An interactive map centered at (center_lat, center_lng) with the given zoom (≈ MapLibre/Google
zoom levels: ~2 world, ~14 city, ~17 street). iOS MapKit / Android MapLibre / web MapLibre-GL — no
API key. Add pins with with_markers, a vector style with with_map_style. Taps arrive in
MobilerApp::input as Input { id: "{id}.tap", Text("lat,lng") } / { "{id}.marker", Text(id) }.
Give it a height (a sized container or card).