Description Usage Arguments Value Examples
Returns a list of name and coordinates of POI's based on the search parameters.
1  | 
poitypes | 
 is a vector poi types to search for.  | 
bbox | 
 is a boundingbox: lower_lat, lower_lng, upper_lat, upper_lng. Must be a data frame with a lat and lng column.  | 
municipalcode | 
 municipalcode: one of 98 danish municipality codes  | 
Returns a list
1 2 3 4 5 6 7 8 9 10  | # Make bounding box coordinates
coords <- dplyr::data_frame(
  lat = c(54.842508, 56.131587),
  lng = c(9.633364, 12.574262))
# POIs of type airport within a large bounding box:
POIwithin(poitypes = "airport", bbox = coords)
# Libraries within municiaplity of Copenhagen:
POIwithin(poitypes = "library", municipalcode = 101)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.