mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Choose reasonable size
This commit is contained in:
parent
83477215b5
commit
a91fb8a25c
@ -1,12 +1,13 @@
|
||||
use crate::io::worker_loop::WorkerLoop;
|
||||
|
||||
pub const MUNICH_X: u32 = 17421;
|
||||
pub const MUNICH_Y: u32 = 11360;
|
||||
pub const MUNICH_X: u32 = 17425;
|
||||
pub const MUNICH_Y: u32 = 11365;
|
||||
pub const MUNICH_Z: u8 = 15;
|
||||
|
||||
pub fn fetch_munich_tiles(worker_loop: &WorkerLoop) {
|
||||
for x in 0..15 {
|
||||
for y in 0..15 {
|
||||
// This size matches the amount of tiles which are loaded on zoom 15 on FHD
|
||||
for x in 0..8 {
|
||||
for y in 0..5 {
|
||||
worker_loop.fetch((MUNICH_X + x, MUNICH_Y + y, MUNICH_Z).into())
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user