author | description | ms.date | title | ms.localizationpriority | doc_type | ms.subservice |
---|---|---|---|---|---|---|
spgraph-docs-team |
The geoCoordinates resource provides geographic coordinates and elevation of a location based on metadata contained within the file. |
09/10/2017 |
GeoCoordinates |
medium |
resourcePageType |
entra-monitoring-health |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Provides geographic coordinates and elevation of a location based on metadata contained within the file. If a driveItem has a non-null location facet, the item represents a file with a known location assocaited with it.
Note
When updating the latitude and longitude of a photo, a photo resource (empty or otherwise) must be provided.
Property | Type | Description |
---|---|---|
altitude | Double | Optional. The altitude (height), in feet, above sea level for the item. Read-only. |
latitude | Double | Optional. The latitude, in decimal, for the item. Writable on OneDrive Personal. |
longitude | Double | Optional. The longitude, in decimal, for the item. Writable on OneDrive Personal. |
The following JSON representation shows the resource type.
{
"altitude": 1024.13,
"latitude": 26.13246,
"longitude": 24.34616
}