I am trying to use turf and turf-isobands. But it doesn't seemed to be included to turf.min.js. I downloaded turf-isobands-master.

 var isobands = turf.isobands(elLayer.toGeoJSON(), 'elevation', resolution, breaks);  # not working
 var isolines = turf.isolines(elLayer.toGeoJSON(), 'elevation', resolution, breaks);  # working

Do you have any ideas about why it is not working?

  • I have same problem. I couldn't find any code to load isobands module from turf.js. If you solved the problem, please let me know it. Aug 10, 2016 at 17:02

1 Answer 1


The TurfJS changelog for version 2.0.0 says this:

remove turf-isobands; use turf-isolines instead

There is also the turf-isobands library, but I'm not sure if it works in a browser (if you need that).

Related Github issue here, it was removed because of bugs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.