Dataframes are necessary for the transformations needed to query the osrm servers.
1 | transform_to_df(sf)
|
osrm_table()
for the main function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.