Leaflet: The lightweight open-source JavaScript library for interactive maps. Turf.js: Geospatial analysis in JavaScript, in the browser or Node.
| Leaflet | Turf.js | |
|---|---|---|
| Category | Map Libraries & SDKs | Map Libraries & SDKs |
| Pricing model | Open source | Open source |
| Starts at | Free | Free |
| Free tier | — | — |
| Open source | Yes | Yes |
| Software licence | BSD-2-Clause | MIT |
| API | — | — |
| Platforms | JavaScript | JavaScript |
| Made by | — | — |
| Commercial use | Allowed | Allowed |
| Export / print images | Allowed | Allowed |
| Offline / caching | Allowed | Allowed |
| Visits from MapTools | 4 | 3 |
| Visit | Visit |
Leaflet features
- Raster tile layers
- Markers, popups, vectors and GeoJSON
- Hundreds of plugins
- Tiny footprint
The library is free. The tiles you load keep their provider's terms.
Leaflet alternativesTurf.js features
- Buffers, unions and intersections
- Distance, area and bearing
- Point-in-polygon and clustering
- Works in browser and Node.js
Summary based on public information. Check each provider's current pricing and terms.