Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Geolocation

Geographic information about a vantage point.

Properties

Optional adminDivCode

adminDivCode: undefined | string

The ISO 3166-2 code for this location's first-level administrative division, either a US state or Canadian province. Only included for locations in the US or Canada. For a list of codes, see Country Codes.

Optional cityName

cityName: undefined | string

Common English-language name for the city.

Optional countryCode

countryCode: undefined | string

The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.

Optional countryName

countryName: undefined | string

The common English-language name for the country.

Optional geoKey

geoKey: undefined | string

An opaque identifier for the geographic location of the vantage point.

Optional latitude

latitude: undefined | number

Degrees north of the Equator. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional longitude

longitude: undefined | number

Degrees east of the prime meridian. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Functions

getDeserializedJsonObj

getJsonObj