geodesic line drawing: alternative intermediate point calculation code - based on simpler lon->lat formula rather than N intermediate points
more than good enough for line drawing, and hopefully will avoid odd rounding issues seen on mobile