I have a map that I draw a line on a cylindrical projection image map using PHP between two long / lat locations. The line draws okay, but not always the shortest route. Is there a way in PHP to, for example draw a line from the west coast to Australia what would go to the end of the map on the left, pick up on the right and continue on? Looks funny when a line is drawn from West Coast to Australia that goes east, through Africa and all.
I want to draw a line along the shortest path even if it goes off the map to the left (or right) and picks up on the other side.