VinayBa

Feature Layer SanpShot mode + feature.graphics

Discussion created by VinayBa on Dec 2, 2013
HI ALl,

  Since feature layer in its snapshot mode downloads all the graphics in the client  side so i dont want to hit the server again so if  i want to highlight some country is using below safe?


     
 dojo.forEach(featureLayer.graphics,function(graphic){
        if(graphic.attributes.CNTRY_NAME=='India')){
           graphic.setSymbol(alertOfficeSymbol);
          map.graphics.add(graphic);
                                                  }
        
      })
;

Outcomes