Handle click on feature

184
1
12-14-2019 12:12 PM
MaxMax2
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
UmaHarano
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