Description Usage Arguments Value Note See Also Examples
Encodes a series of lat/lon coordinates that specify a path into an encoded polyline
1 | encode_pl(lat, lon)
|
lat |
vector of latitude coordinates |
lon |
vector of longitude coordinates |
string encoded polyline
An encoded polyline is generated from google's polyline encoding algorithm (https://developers.google.com/maps/documentation/utilities/polylinealgorithm).
decode_pl
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.