pub fn composite_raster_tiles(
tiles: &[(TileCoord, TileData)],
bbox: [f64; 4],
zoom: u8,
width: u32,
height: u32,
transparent_background: bool,
pixel_ratio: f64,
) -> Result<RgbaImage, BasemapError>Expand description
Composite raster tiles onto a single RGBA canvas.
Each tile occupies an exact (tile_px × tile_px) region on the canvas. The canvas extends from bbox[0..3] at the given zoom; pixel offsets are computed from the tile index relative to the top-left tile.