decode line from ggmap::route(from, to, structure = "route", output = "all") wrapper over decode_line_cpp() and decode_line_r() depends on Rcpp available
1 | decode_line(encoded)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.