[GIS] Turf.js only with Mapbox.js

leafletmapboxturf

After trying turf.js with plain ole leaflet and getting confused because the most basic stuff wouldn't work, I'm thinking that turf.js requires Mapbox.js and access token. Can anyone confirm or deny this??

If this is the case, I have either totally overlooked it on the turf github and the turf API site, or that information is nowhere to be found, which is kind of annoying.

Best Answer

Turf.js is not dependent on Mapbox.js or access token. I was initially confused with the documentation, I think, but it works fine with plain leaflet.js.

Related Question