powered by
Decode a Google polyline to a data frame of coordinates.
decodePolyline(enc_polyline, factor = 5)
A data frame of latitudes and longitudes is returned.
a Google polyline.
number of decimal digits to be used.
coords <- decodePolyline(enc_polyline = "_p~iF~ps|U_ulLnnqC_mqNvxq`@") coords
Run the code above in your browser using DataLab