Description Usage Arguments Value Examples
Endpoint returns list of installations which are closest to a given point, sorted by distance to that point.
1 | get_nearest_installations(lat, lng, max_distance = NULL, max_results = NULL)
|
lat |
latitude as decimal degree |
lng |
longitude as decimal degree |
max_distance |
default value 3.0. All the returned installations must be located within this limit from the given point (in km). Negative value means no limit |
max_results |
default value 1. Maximum number of installations to return. Negative value means no limit |
data.frame of airly_location items
1 | get_nearest_installations(50.11670, 19.91429, max_distance = 20)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.