manuelbieh / geolib

Zero dependency library to provide some basic geo functions
MIT License
4.21k stars 341 forks source link

Fix: getDistanceFormLine returning NaN when point on line or line is a point #304

Closed timvahlbrock closed 5 months ago

timvahlbrock commented 5 months ago

So I need to mention @manuelbieh on this or something?

manuelbieh commented 5 months ago

@timvahlbrock thanks! I apparently missed it. Thanks for your contribution! 🙂