interface GeolocateResponseData {
    accuracy: number;
    error_message: string;
    html_attributions?: string[];
    location: LatLngLiteral;
    next_page_token?: string;
    status: Status;
}

Hierarchy (view full)

Properties

accuracy: number

The accuracy of the estimated location, in meters. This represents the radius of a circle around the given location.

error_message: string

When the top-level status code is other than OK, this field contains more detailed information about the reasons behind the given status code.

html_attributions?: string[]

may contain a set of attributions about this listing which must be displayed to the user (some listings may not have attribution).

location: LatLngLiteral

The user's estimated latitude and longitude, in degrees. Contains one lat and one lng subfield.

next_page_token?: string

contains a token that can be used to return up to 20 additional results. A next_page_token will not be returned if there are no additional results to display. The maximum number of results that can be returned is 60. There is a short delay between when a next_page_token is issued, and when it will become valid.

status: Status

contains metadata on the request. See Status Codes below.