Select to view content in your preferred language

selectFeature is not available in ArcGIS JavaScript API 4.x

3 weeks ago
Esri Community Manager

Hi All,

Why there is no inbuilt method for selecting the feature in ArcGIS JavaScript API 4.x, but available in 3.x? 

Thanks & regards,
Mohammed Hilal K

0 Kudos
2 Replies
Esri Regular Contributor

Hi there, 

Have you looked at highlight method? 

Esri Community Manager

Yes, now I noticed we have highlight method which can highlight the features. Is there any inbuilt method to get the highlighted feature info like OBJECTID from FeatureLayer or FeatureLayerView? 

0 Kudos