AnsweredAssumed Answered

QueryTask for dynamicLayer

Question asked by tomarcgis on Apr 9, 2014
Latest reply on Apr 10, 2014 by tomarcgis
Hi,

I am using ArcGISDynamicMapServiceLayer not FeatureLayer. I am wondering if there a way to query a dynamic layer while user clicks on map? Something likes:

var queryTask =  new QueryTask(dynamicMapServiceUrl + "/dynamicLayer", {
                "source": layerSource
              });
var query = new Query();
query.geometry = clickedMapPoint

Outcomes