Skip to main content

tile_bounds_world

Function tile_bounds_world 

Source
pub fn tile_bounds_world(tile: &TileId) -> WorldBounds
Expand description

Return the world-space bounding box (Web Mercator meters) for a tile.

The returned WorldBounds has min at the south-west corner and max at the north-east corner, matching the convention used by therenderer’s quad mesh builder.