evil_transform v0.1.0 EvilTransform.Engine

Core transformation logic - transform and delta.

Link to this section Summary

Functions

Calculate lat/lng deltas according to the given WGS84 lat/lng

Link to this section Functions

Link to this function compute_delta(lat, lng)

Calculate lat/lng deltas according to the given WGS84 lat/lng.

Return a tuple, which contains lat/lng deltas, respectively.

Example

iex> EvilTransform.Engine.compute_delta(43.925956,81.304986) {0.0012107347458435362, 0.0029884174595647315} iex> EvilTransform.Engine.compute_delta(29.337366,120.122021) {-0.002467828398120453, 0.004698765444104658}