Description Usage Arguments Value Examples
Decode a Google polyline to a data frame of coordinates.
1 | decodePolyline(enc_polyline, factor = 5)
|
enc_polyline |
a Google polyline. |
factor |
number of decimal digits to be used. |
A data frame of latitudes and longitudes is returned.
1 2 | coords <- decodePolyline(enc_polyline = "_p~iF~ps|U_ulLnnqC_mqNvxq`@")
coords
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.