AnsweredAssumed Answered

Query feature layer to show graphic

Question asked by ihussein1 on Feb 19, 2015
Latest reply on Feb 19, 2015 by ihussein1

Ive done this many times, but for some reason this is not working for me and I have no clue why.


The execute statement looks like


qt.execute(query, function(results) {


     //symbol not used(will be used once polygon is figured out

    var redSymbol1 = new SimpleFillSymbol(


      new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new Color([255, 0, 0]), 3),

      new Color([255, 0, 0, 0.4])



     var graphic1 = new Graphic(results.features[0].geometry, redSymbol1);                                                                                    

     //Add graphic to the map graphics layer.;



the console.log mentioned above shows this has an output querygraph.jpg