I am using the identify widget tutorial and I just changed it up a bit. However it does not work and I am not sure why. Please see my codepen:
https://codepen.io/chesouye/pen/eYProWK
please assist.
Ok so I have all my layers as Feature Layers but I was doing research and I wanted to attempt that way. However, I am open to this way you have proposed. How do I go about utilizing this pop up functionality you speak of?
You can see my code pen here: https://codepen.io/chesouye/pen/ZEqrZwg
You're using a FeatureService instead of a tiled MapService that is used in the sample you're modifying. The primary objective of the sample is to show how to populate a popup from this type of service. Instead of using Identify, why not add all the layers as FeatureLayers and utilize their popup functionality?
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.