Description Usage Arguments Details Value Examples
View source: R/here_reverse_geocoder.R
here_reverse_geocoder Returns address information of a given latitude and longitude.
1 | here_reverse_geocoder(lat, lon, here_id, here_code)
|
lat |
The latitude to be searched using the Here API - numeric |
lon |
The longitude to be searched using the Here API - numeric |
here_id |
The developer application ID that uniquely identify the user |
here_code |
The developer application Code that uniquely identify the user |
This function works by verifying in the Here API the address of a given latitude and longitude. The return is a list containing multiple informations about the address label, country, state, city, district, street, house_number and postal code.
Given a valid app_id, and app_code, the script returns a list containing the label, country, state, city, district, street, house_number and postal code of a given latityde and longitude pair;
1 2 3 4 | ## Not run:
here_reverse_geocoder(43.643513, -79.378262, '<YOUR_APP_ID>', '<YOUR_APP_CODE>')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.