Choose reasonable size

This commit is contained in:
Maximilian Ammann 2022-01-15 15:25:24 +01:00
parent 83477215b5
commit a91fb8a25c

View File

@ -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())
}
}