geoCoordinates resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

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.

Properties

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.

JSON representation

Here is a JSON representation of the resource

{
  "altitude": 1024.13,
  "latitude": 26.13246,
  "longitude": 24.34616
}