powered by
A leaflet plugin which shows areas of reachability based on time or distance for different modes of travel using the openrouteservice isochrones API. Based on the leaflet.reachability plugin
addReachability(map, apikey = NULL, options = reachabilityOptions())
the new map object
map
a map widget
a valid Openrouteservice API-key. Can be obtained from Openrouteservice
A list of further options. See reachabilityOptions
reachabilityOptions
https://github.com/traffordDataLab/leaflet.reachability
Other Reachability Functions: reachabilityOptions(), removeReachability()
reachabilityOptions()
removeReachability()
if (FALSE) { library(leaflet) library(leaflet.extras2) Sys.setenv("OPRS" = "Your_API_Key") leaflet() %>% addTiles() %>% setView(8, 50, 10) %>% addReachability() }
Run the code above in your browser using DataLab