# tile_coordinates_bavaria in maplibre::util::grid - Rust
Returns coordinates for tiles within bavaria according to the specified grid. The grid is responsible for defining the coordinate system. For example whether Slippy map tilenames (also known as XYZ) or TMS is used.
Keywords: rust, rustlang, rust-lang, tile_coordinates_bavaria

# Function maplibre::util::grid::tile_coordinates_bavaria

source · [−]

    pub fn tile_coordinates_bavaria(grid: &Grid, zoom: u8) -> Vec<(u8, u32, u32)>

Expand description

Returns coordinates for tiles within bavaria according to the specified grid. The grid is responsible for defining the coordinate system. For example whether Slippy map tilenames (also known as XYZ) or TMS is used.

### Additional Resources:

- https://www.maptiler.com/google-maps-coordinates-tile-bounds-projection
- https://gist.github.com/maptiler/fddb5ce33ba995d5523de9afdf8ef118