I am trying to measure and show angle using semicircle library. It would measure the angle between two vertices being drawn with PM Leaflet library.
Measuring angles is good, however, drawn semicircle line and the PM lines are not overlapping. I noticed they are overlapping perfectly near 0,0 (Web Mercator) coordinates but if I try to apply this action near poles, as you suppose, distortion is great.
What would be a way to solve this? Any tip is appreciated.
I am trying to measure and show angle using semicircle library. It would measure the angle between two vertices being drawn with PM Leaflet library.
Measuring angles is good, however, drawn semicircle line and the PM lines are not overlapping. I noticed they are overlapping perfectly near 0,0 (Web Mercator) coordinates but if I try to apply this action near poles, as you suppose, distortion is great.
What would be a way to solve this? Any tip is appreciated.