Closed Crisfole closed 1 year ago
Sure let me check and I will add a new Utility for this, or if you like to take this forward I will be happy to merge your PR :).
I'm not using svelte-legos at the moment, but it looks great. Just wanted to point you at an implementation you can crib off of! Hope it helps!
Isnt this added already? https://sveltelegos.com/guides/stores/geolocationStore/
Aim is to close as many issues as possile
Can be closed
Geolocation is very easy to implement as a store. Again: one of those browser APIs that was meant to be a store.
https://github.com/parkingboss/svelte-utils/blob/master/src/geo.ts
That code can be easily adapted.