I want to highlight equipment on map as soon as it loads. I tried following approach and it works but I am looking for better apprach:
1) Load map
2) Add ArcGISDynamicLayer
3) As soon as ArcGISDynamicLayer is added, I use FeatureLayer.selectFeatures() to highlight the equipment.
The problem with this approach is it loads map twice. I am looking something where I can fire selectFeatures first and then supply required information to map so, in one call map can be loaded with the appropriate extent. Any example for this approach?