Description Usage Arguments References Examples
Obtain a destination point from a given start point, initial bearing, and distance
1 2 3 4 5 6 7 8 9 | destination(...)
## Default S3 method:
destination(latitude, longitude, brg,
distance, units = "km", ...)
## S3 method for class 'Coordinate'
destination(coordinate, brg,
distance, units = "km", ...)
|
latitude |
a latitude coordinate |
longitude |
a longitude coordinate |
brg |
the initial bearing |
distance |
the distance to add in km or miles |
units |
a string with the distance units (default kilometers) |
coordinate |
a coordinate class |
... |
other argument |
http://www.movable-type.co.uk/scripts/latlong.html
1 2 3 | # Add 10 kilometers to icord
icord <- Coordinate(43, -8)
ecord <- destination(icord, 30, 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.