pub fn bbox_from_center(
lon: f64,
lat: f64,
zoom: f64,
width: u32,
height: u32,
) -> [f64; 4]Expand description
EPSG:3857 bbox of a width x height CSS-pixel view centred on
(lon, lat) at MapLibre zoom zoom (512 px tiles; fractional zooms
allowed), as MapLibre’s camera shows it.