Search code examples
wasm-bindgendioxus

How to get location through Dioxus?


It seems that you can get GPS location through the browser APIs using wasm-bindgen but I just can't find an example for it.

Any idea how to do this?


Solution

  • You can use dioxus-std to get the current location of the user using GPS. Here is an example.