Description Usage Arguments Details Value Examples
View source: R/here_reverse_geocoder_landmarks.R
here_reverse_geocoder_landmarks Returns address information of the top 10 closest landmarks of a given latitude and longitude.
1 | here_reverse_geocoder_landmarks(lat, lon, radius, 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 |
radius |
The search radius in meters to be used by 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 top 10 closest landmarks of a given latitude and longitude. The return is a data.frame containing multiple informations about the landmarks distance to the given point, and each landmarks name, address, country, state, city, district, street and postal code.
Given a valid app_id, and app_code, the script returns a data.frame containing the closest landmarks, its distance to the given point, and each landmarks name, address, country, state, city, district, street and postal code;
1 2 3 4 | ## Not run:
here_reverse_geocoder_landmarks(43.643513, -79.378262, 5000, '<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.