Description Usage Arguments Value Examples
View source: R/decodepolyline.R
Decode an encoded polyline
1 | decodepolyline(encoded)
|
encoded |
is an encoded polyline |
Returns a data frame
1 2 3 4 5 | # Request compressed polylines for each route:
mymultiroute <- multiroute(fromcoord = "55.68958,12.557845", tocoords = coords, routepolyline = 1)
# Decode the compressed polyline
decodepolyline(mymultiroute[[1]]$routepolyline)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.