dioxus-geolocation 0.1.0-alpha.1

Geolocation utilities and hooks for Dioxus.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Interact with location services.

cfg_if::cfg_if! {
    if #[cfg(any(windows, target_family = "wasm"))] {
        pub mod core;
        pub mod platform;
        pub mod use_geolocation;
        pub use self::core::*;
        pub use self::use_geolocation::*;
    }
    else {
        compile_error!("the `geolocation` feature is only available on wasm and windows targets");
    }
}