Hacker News new | ask | show | jobs
by metastew 4189 days ago
Have you thought about porting it to Meteor's Atmosphere (https://atmospherejs.com/i/publishing)? You'd only need to set up a Meteor Developer account and then create a Meteor package file and export the library for Meteor's usage (afaik).

I'm curious if this supports Leaflet too?

3 comments

Here's the Mapbox blog post about it, where they confirm easy integration with Leaflet:

https://www.mapbox.com/blog/turf-gis-for-web-maps/

> Have you thought about porting it to Meteor's Atmosphere

We currently support npm, bower, and a CDN build on Mapbox. Additional package managers can be added if there is a community need.

> I'm curious if this supports Leaflet too?

Turf is not tied to any visualization framework. GeoJSON in - GeoJSON out; display it where you want (or don't display it at all).

Found this blog visualizing turfjs modules with mapbox.js (http://rousseau.io/turf-mapboxjs/)