geolocationStore
Uses the Geolocation API to get and/or watch the user's location data
Demo
Status: unsupported
Latitude:
Longitude:
Error: null
Usage
<script lang="ts">
import { geolocationStore } from "svelte-legos";
const geolocation = geolocationStore({ watch: true });
$: ({ status, position, error } = $geolocation)
</script>