You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
The code calls
isolines()
athttps://github.com/mapbox/osrm-isochrone/blob/master/index.js#L20
However, that is using the pre-4.5.2 interface to @turf/isolines.
That interface was changed in:
Turfjs/turf@321d0df#diff-ba41233dbd590d55878b1d00a76de5b9
Turfjs/turf#781
Their example shows the difference:
So I think the version of
@turf/isolines
needs to be fixed as>=3.5.2 <4.5.2
athttps://github.com/mapbox/osrm-isochrone/blob/master/package.json#L32
or the calling code updated to the newer call format.
Subsequently the third parameter has been changed to an object, so is now set as the options.zProperty parameter:
https://github.com/Turfjs/turf/tree/master/packages/turf-isolines#isolines
The text was updated successfully, but these errors were encountered: