Rename function

This commit is contained in:
Maximilian Ammann 2022-03-12 18:20:00 +01:00
parent 52ed7a2097
commit cc22e55133
2 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ impl IOScheduler {
info!("new tile request: {}", &coords); info!("new tile request: {}", &coords);
let tile_coords = coords.into_tile(TileAdressingScheme::TMS); let tile_coords = coords.into_tile(TileAdressingScheme::TMS);
/* crate::platform::fetch_tile( /* crate::platform::schedule_tile_request(
format!( format!(
"https://maps.tuerantuer.org/europe_germany/{z}/{x}/{y}.pbf", "https://maps.tuerantuer.org/europe_germany/{z}/{x}/{y}.pbf",
x = tile_coords.x, x = tile_coords.x,

View File

@ -41,7 +41,7 @@ pub fn start() {
#[wasm_bindgen()] #[wasm_bindgen()]
extern "C" { extern "C" {
pub fn fetch_tile(url: &str, request_id: u32); pub fn schedule_tile_request(url: &str, request_id: u32);
} }
#[wasm_bindgen] #[wasm_bindgen]