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);
	}
public void addGreatCircle ( final GeoPoint startPoint , final GeoPoint endPoint ) { final int greatCircleLength = ( int ) startPoint . distanceToAsDouble ( endPoint ) ; final int numberOfPoints = greatCircleLength / 100000 ; addGreatCircle ( startPoint , endPoint , numberOfPoints ) ; }
Draw a great circle.
Calculate a point for every 100km along the path.
@param startPoint start point of the great circle
@param endPoint end point of the great circle