map_gui::tools

Function prompt_to_download_missing_data

Source
pub fn prompt_to_download_missing_data<A: AppLike + 'static>(
    ctx: &mut EventCtx<'_>,
    map_name: MapName,
    on_load: Box<dyn FnOnce(&mut EventCtx<'_>, &mut A) -> Transition<A>>,
) -> Transition<A>