ESRI ArcGIS API for Javascript Query and Select Sample - Feature Layers

657
1
03-27-2014 11:33 AM
MichaelVolz
Esteemed Contributor
To All Javascript API Developers:

From what I am reading in the samples, the queries appear to be constructed against a feature layer.  Is there a particular reason why this would be the case?

Could it be that is makes it easier to deal with 1 layer of a mapservice that can be composed of multiple layers?

Can you even perform queries against a dynamic mapservice?
0 Kudos
1 Reply
KenBuja
MVP Esteemed Contributor
Of the many samples that use Query, several (like this, this, and this)https://developers.arcgis.com/javascript/jssamples/query_showinfowindow.html use it on a dynamic map service.
0 Kudos