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
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de