Skip to content

Commit

Permalink
feat(geolocation): comments add
Browse files Browse the repository at this point in the history
  • Loading branch information
NSUWAL123 committed Jan 1, 2025
1 parent 829e63c commit da9d061
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mapper/src/lib/components/map/geolocation.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@
}
}
// set waypoints for navigation on every 10 seconds if navigation mode is on i.e. entityToNavigate is not null
// don't track user geolocation
$effect(() => {
if (!untrack(() => entitiesStore.userLocationCoord) && !entityToNavigate) return;
entityToNavigate?.coordinate &&
Expand Down

0 comments on commit da9d061

Please sign in to comment.