Open obecny opened 4 months ago
geometryUtil readableDistance expects first param to be a number, wheraes here the string was passed.
https://github.com/makinacorpus/Leaflet.GeometryUtil/blob/master/src/leaflet.geometryutil.js#L67
This was causing an error
leaflet.geometryutil.js:70 Uncaught TypeError: distance.toFixed is not a function
After this fix the error is gone
geometryUtil readableDistance expects first param to be a number, wheraes here the string was passed.
https://github.com/makinacorpus/Leaflet.GeometryUtil/blob/master/src/leaflet.geometryutil.js#L67
This was causing an error
After this fix the error is gone