Closed adrianha closed 5 years ago
Hi, Sometimes i got an error when using geolib.findNearest because its attempted to assign to readonly property. After i look at the code its raised because of this (Line: 950 on dist version): https://github.com/manuelbieh/Geolib/blob/master/src/geolib.js#L937-L939
attempted to assign to readonly property
Could we change to:
var augmentedCoord = { key: idx, distance: distance };
Thanks
This behavior is changed/fixed in v3 which I will release shortly!
Hi, Sometimes i got an error when using geolib.findNearest because its
attempted to assign to readonly property
. After i look at the code its raised because of this (Line: 950 on dist version): https://github.com/manuelbieh/Geolib/blob/master/src/geolib.js#L937-L939Could we change to:
Thanks