Description Usage Arguments Value Examples
Calculates the angle between two geopositions with respect to an axis.
1 | angle(from_lng, from_lat, to_lng, to_lat, respecto = 0)
|
from_lng |
Origin longitude |
from_lat |
Origin latitude |
to_lng |
Final longitude |
to_lat |
Final latitude |
respecto |
Axis where the angles start to be measured, by default is x-axis with angle 0 (respecto=0) |
angle in degrees
1 2 3 4 5 | x=-96.9236
y=-19.527196
X=-96.91404
Y=-19.5272
angle(x,y,X,Y,respecto=90) #axis y in 90 degrees
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.