public void addGreatCircle ( final GeoPoint startPoint , final GeoPoint endPoint ) { // get the great circle path length in meters final int greatCircleLength = ( int ) startPoint . distanceToAsDouble ( endPoint ) ; // add one point for every 100kms of the great circle path final int numberOfPoints = greatCircleLength / 100000 ; addGreatCircle ( startPoint , endPoint , numberOfPoints ) ; }
Draw a great circle . Calculate a point for every 100km along the path .