Select to view content in your preferred language

Handle click on feature

12-14-2019 12:12 PM
Occasional Contributor II

Is it possible to handle click on a feature of feature layer? So if I click a feature, custom code is executed.

Tags (1)
0 Kudos
1 Reply
Esri Regular Contributor

There is a MapSelectionChangedEvent that gets triggered when the selection has changed (when you click on a feature) in the map.  So you could listen for this event and execute your code.

0 Kudos