This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves a location.
The getLocation()
function returns a Promise that resolves to the retrieved location.
ID of the location to retrieve.