Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
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
Building Web Applications with ArcGIS

You're reading from   Building Web Applications with ArcGIS Build an engaging GIS Web application from scratch using ArcGIS

Arrow left icon
Product type Paperback
Published in Nov 2014
Publisher
ISBN-13 9781783552955
Length 138 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Hussein Nasser Hussein Nasser
Author Profile Icon Hussein Nasser
Hussein Nasser
Arrow right icon
View More author details
Toc

Feature layers

In the previous chapters, we introduced the Dynamic map service object. That object was easy to use and implement since it takes care of everything from the symbology, scaling, labeling, and layer grouping. It fetches all the layers in your service and adds them to the map. The disadvantage of Dynamic map service layer is that it doesn't allow you to interact with the individual sub-layers in a convenient way. You can't loop through the sub-layers to fetch individual layers; therefore you cannot, of course, query the layers. Dynamic map services are mainly used for representation. That is why we will replace it with the feature layer as we will see in the next section.

Note

Feature layer: This is a layer, which allows read access to the individual ArcGIS records in the corresponding table and accepts user queries.

Adding feature layers

As we have learned in the previous chapters, our service contains two layers, Food and Drinks, and Belize Landbase. This dynamic layer...

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