次の方法で共有


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