To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
Methods
Name | Returns | Notes | Example |
---|---|---|---|
findLocation ( ) | CityResponse | Attempt to find a GEO location for the request, based on its from address, after stripping proxies | |
findLocation ( ipAddress ) | CityResponse | ||
findCountryCode ( country ) | String | ||
distance ( lat1, lat2, lon1, lon2 ) | double | ||
distance ( lat1, lat2, lon1, lon2, el1, el2 ) | double | Calculate distance between two points in latitude and longitude taking into account height difference. If you are not interested in height difference pass 0.0. Uses Haversine method as its base. lat1, lon1 Start point lat2, lon2 End point el1 Start altitude in meters el2 End altitude in meters |