Skip to main content

geo_to_tile_checked

Function geo_to_tile_checked 

Source
pub fn geo_to_tile_checked(geo: &GeoCoord, zoom: u8) -> Option<TileCoord>
Expand description

Checked variant of geo_to_tile.

Returns None if zoom > MAX_ZOOM or if geo is outside Web Mercator latitude range.