Skip to content

User location marker doesn't update #47

@luqmaan

Description

@luqmaan

The user location marker doesn't update as you move.

Also, sometimes it just doesn't show up because of timeouts.

I think we can fix this by adding changing getCurrentPosition to watchPosition here https://github.com/open-austin/austingreenmap/blob/master/client/js/utils/index.js#L13-L17. https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/watchPosition

We may also need to add retries in case it throws an error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions