Skip to main content

covering_tiles

Function covering_tiles 

Source
pub fn covering_tiles(bbox: [f64; 4], z: u8) -> Vec<(TileCoord, i32)>
Expand description

Tiles covering bbox at tile zoom z, as (canonical tile, wrap). Columns past ±180° belong to a wrapped world copy: wrap -1 is the copy to the west, +1 to the east (MapLibre’s renderWorldCopies).