The function gets 4 arguments i.e position of begininning and end of segments. If the first argument is given col.names gives the column names in the data frame describing the position.
1 2 |
lat |
|
lon |
|
lat1 |
|
lon1 |
|
col |
|
col.names |
|
... |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.