Select to view content in your preferred language

selectFeature is not available in ArcGIS JavaScript API 4.x

221
2
a month ago
MohammedHilal_K
New Contributor III

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
ShareUser
Esri Community Manager

Hi there, 

Have you looked at highlight method? 

MohammedHilal_K
New Contributor III

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