Consuming ESRI services

In the first example of this chapter, you learned how to use the esri-leaflet plugin for basemaps. You then learned how to use a plugin to work with the most common ESRI file format: the shapefile. While you will most certainly run into a shapefile, you will increasingly find yourself running into ESRI services that provide endpoints that you can connect to and consume geographic services from. With the esri-leaflet plugin, you can connect to these services, and besides basemaps, display five other layer types:

  • The tiled map layer
  • The dynamic map layer
  • The feature layer
  • The clustered feature layer
  • The heatmap feature layer

Once you know how to add one of these layers, you can add any of the others because the process is almost ...

Get Leaflet.js Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.