Position.md

September 2, 2021 ยท View on GitHub

"Position" is user's current position that is queried through HTML geolocation interface. Position is used to show marker on map and to initialize routing start location.

Note that in this context "Position" is not same thing as "Location". User's position will change during a trip but start and stop locations remain the same. Please refer to the terms for a detailed definition.

Position

StateDescription
No positionApplication has no idea where user currently is or user's previous positions
Previous positionApplication has no idea where user currently is but it knows where she was some time ago
PositioningBrowser is trying to find out user's geolocation
Tracking positionUser's position is found and is being tracked by application
Tracking position with bad accuracyUser's position is found and is being tracked by application. However, tracking accuracy is not very good
Positioning timeoutERROR: For some reason we didn't find user's position within 10 seconds
Positioning abortedERROR: User aborted positioning
Positioning not supportedERROR: Browser does not support HTML5 positioning or it's not available on device
Positioning deniedERROR: User has denied positioning on this page