View Source Landmark.Transformation (Landmark v0.5.1)

Summary

Functions

Moves a geometry a specified distance along a Rhumb Line in the direction of the provided bearing

Functions

translate(geometry, distance, bearing, options \\ [unit: :kilometers])

Moves a geometry a specified distance along a Rhumb Line in the direction of the provided bearing

Examples

iex> Landmark.Transformation.translate(%Geo.Point{coordinates: {-75, 39}}, 100, 90)
%Geo.Point{coordinates: {-73.84279077386554, 39.0}}