AnsweredAssumed Answered

highlight features

Question asked by bforbhavin on Sep 22, 2014
Latest reply on Sep 23, 2014 by JUihlein-esristaff

I want to highlight features on the map such a way so, they appear on top of the feature symbol. For that, I am using featureLayer.selectedFeatures following way and it works. But once I find features and adjust extent following way then map is drawing symbols again. Then highlighted graphics is overlapped by other feature symbols. Because, highlighting happens fast and rendering feature symbols on the map takes little time. I am using ArcGISDynamicLayer(mapservice) to show the map. Is there anyway to highlight selected features on top after all feature symbols have been rendered?


            vFeatureLayer.on('load', function() {

                vSelectFeatureQuery.where = ' GISOBJID IN (' + vFldValues.gisobjid + ')';

                vFeatureLayer.selectFeatures(vSelectFeatureQuery, FeatureLayer.SELECTION_NEW, function(selectedFeatures) {