manuelbieh/geolib

computeDestinationPoint uses a different hardcoded earth radius value instead of the constant

pleblancq opened this issue · 1 comments

in computeDestinationPoint.ts

const computeDestinationPoint = (
    start: GeolibInputCoordinates,
    distance: number,
    bearing: number,
    radius: number = 6371000
) => {

instead of using export const earthRadius = 6378137; from constants.ts

this issue appeared in v2.0.25

I submitted PR #296 to fix this, could someone give it a review and merge when possible please?