ESRI Leaflet vs ArcGIS JavaScript API

04-14-2015 04:45 PM
Occasional Contributor II

A few questions about your use of ESRI Leaflet:

How fast is it compared to using ArcGIS JavaScript API Compact version (ie. download times)? Just wanted to get some ideas before jumping in. I have an app that I'll be converting to a new version, and performance is an issue. So I'm thinking about potentially using Leaflet. Our Spatial query stuff is quite complicated, so do Leaflets have many of the QueryTask concepts? Also, need some pretty advanced Legend stuff theoretically.  Oh, and the main thing is that this app runs on all platforms and devices, so it needs to work well in all environments.

Also wondering how it does for building fairly robust applications?


0 Kudos
1 Reply
MVP Regular Contributor


I have looked into using leaflet too.  I really like the point clustering.  If you have really complex queries, it might be best to stick with the JavaScript API.  With the new Web Optimizer you can build your own custom version that uses just the resources that you will need for your app.  Here are a couple of links that might be useful.

ArcGIS API for JavaScript Web Optimizer | Guide | ArcGIS API for JavaScript

FAQ · Esri/esri-leaflet Wiki · GitHub

Best Regards,