Skip to content

Add support for watchPosition and clearWatch #4

@crankycoder

Description

@crankycoder

The current implementation only supports getCurrentPosition.

watchPosition and clearWatch can be implemented with getCurrentPosition as long as we have an additional flag within the TrieLocator which monitors itself to see if it is in watch or one shot mode.

Note that this bug depends on having support for worker based scoping of the offline code.

It's possible that multiple pages are using the geolocation APIs and pages are using one-shot getCurrentPosition and watchPosition at the same time.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions