The Leaflet.js
library provides another alternative to the ArcGIS JavaScript API. It's a lightweight library that can show maps on a large range of browsers. Leaflet works well with any tiled map services, and points, lines, and polygons can be added through geojson, a popular open-source JSON format for geographical data. The library can support different tools and data sources with plugins. There is a rich plugin ecosystem for the Leaflet library, with more tools and data source plugins developed daily.
ESRI has released the ESRI Leaflet plugin so that Leaflet maps can use ArcGIS Server Map Services. According to the ESRI Leaflet GitHub page, it supports the following map service layers:
ESRI basemap services
Feature services
Tiled map services
Dynamic map services
ImageServer map services
Note
For more information about the Leaflet.js
library, you can visit http://leafletjs.com/. For books on the library, you can check out Leaflet.js Essentials by Paul Crickard III, or Interactive...