Mapbox iOS connect MGLPolyline coordinates right

69 Views Asked by At

In my app I'm showing a path of a satellite's orbit. I understand I need to normalize the longitude of the coordinate when it crosses the meridian, but I can't seem to fund the correct formula. This results in the effect seen in the image.enter image description here

Can someone please tell me the code I need to have this fixed?

0

There are 0 best solutions below