We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The code calls isolines() at https://github.com/mapbox/osrm-isochrone/blob/master/index.js#L20
isolines()
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:
- var isolined = turf.isolines(points, 'z', 15, breaks); + var isolines = turf.isolines(points, breaks, 'temperature');
So I think the version of @turf/isolines needs to be fixed as >=3.5.2 <4.5.2 at https://github.com/mapbox/osrm-isochrone/blob/master/package.json#L32
@turf/isolines
>=3.5.2 <4.5.2
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:
No branches or pull requests
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: