point_from_distance | R Documentation |
Find latitude and longitude for a certain distance and azimuth from a point.
point_from_distance(
coord_pair,
distance,
azimuth,
distance_unit = "meters",
azimuth_unit = c("degrees", "radians")
)
coord_pair |
A numeric vector of length 2 with names "lat" and "lng" |
distance |
A distance (in meters) representing the distance away from the original point to apply |
azimuth |
A azimuth (in units specified in |
distance_unit |
A string passed to convert_distance indicating the units of the provided distance. |
azimuth_unit |
A string (either |
An object of class terrainr_coordinate_pair.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.