GeoLocation interface
The geo-location context attached to the ip entity
Properties
| asn | Autonomous System Number |
| city | City name |
| country |
The country code according to ISO 3166 format |
| country |
Country name according to ISO 3166 Alpha 2: the lowercase of the English Short Name |
| latitude | The latitude of the identified location, expressed as a floating point number with range of - 90 to 90. Latitude and longitude are derived from the city or postal code. |
| longitude | The longitude of the identified location, expressed as a floating point number with range of -180 to 180. Latitude and longitude are derived from the city or postal code. |
| state | State name |
Property Details
asn
Autonomous System Number
asn?: number
Property Value
number
city
City name
city?: string
Property Value
string
countryCode
The country code according to ISO 3166 format
countryCode?: string
Property Value
string
countryName
Country name according to ISO 3166 Alpha 2: the lowercase of the English Short Name
countryName?: string
Property Value
string
latitude
The latitude of the identified location, expressed as a floating point number with range of - 90 to 90. Latitude and longitude are derived from the city or postal code.
latitude?: number
Property Value
number
longitude
The longitude of the identified location, expressed as a floating point number with range of -180 to 180. Latitude and longitude are derived from the city or postal code.
longitude?: number
Property Value
number
state
State name
state?: string
Property Value
string