Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Leaflet.js Essentials

You're reading from   Leaflet.js Essentials Create interactive, mobile-friendly mapping applications using the incredibly light yet powerful Leaflet.js platform.

Arrow left icon
Product type Paperback
Published in Aug 2014
Publisher
ISBN-13 9781783554812
Length 180 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

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 identical. The only differences are the available options and methods, which are well documented in the API at http://esri.github.io/esri-leaflet/api-reference/. Later in this chapter, we will learn how to create a heatmap feature layer, but for now...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image