This function returns a distance from a given 'home' coordinate for each individual trip.
home argument to provide a single, common 2-element (x,y or lon,lat) coordinate. If
NULL (the default), then each individual trip's first location is used.
numeric vector of distances in km (for longlat), or in the units of the trip's projection
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.