Hello.
I have to use proxy for the querytask in the actionscript (not in the xml widget config). What is equivalent to <useproxy>true</useproxy> to actionscript?
Is there a property that I can use with the query? I couldn'r find one. Thanks.
var queryBuffer:Query = new Query();
queryBuffer.spatialRelationship = querySpatialRel;
queryBuffer.geometry = geom;
queryBuffer.returnGeometry = true;
queryBufferTask.url=layerConfig.url;
queryBuffer.outSpatialReference = map.spatialReference;
queryBuffer.outFields = layerConfig.outfields;