Geodesic rendering, fix creating polyline.