mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Rename function
This commit is contained in:
parent
52ed7a2097
commit
cc22e55133
@ -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,
|
||||||
|
|||||||
@ -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]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user