Highlight point features
Explore in the sandboxView live
This sample shows how to highlight features in a layer. Features in SceneLayer, FeatureLayer, CSVLayer, GeoRSSLayer andGraphicsLayer can be highlighted.
To highlight a feature, call the highlight method of the feature's corresponding layerView with the feature or its objectID
as parameter. When passing features as parameters, they need to have an objectID
.