Location interface
Note
This API is in Beta and provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Data struture to represent the location information
Properties
accuracy | Accuracy describes the maximum distance in meters from the captured coordinates to the possible actual location |
latitude | Latitude of the location |
longitude | Longitude of the location |
timestamp | Time stamp when the location was captured |
Property Details
accuracy
Accuracy describes the maximum distance in meters from the captured coordinates to the possible actual location
accuracy?: number
Property Value
number
Remarks
This property is only in scope for mobile
latitude
Latitude of the location
latitude: number
Property Value
number
longitude
Longitude of the location
longitude: number
Property Value
number
timestamp
Time stamp when the location was captured
timestamp?: number
Property Value
number
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for