WPF and MVVM: GeoViewTapped Event

Discussion created by panoramicgis on Mar 4, 2019
Latest reply on Sep 13, 2019 by minerjoe



I am trying to create binding for the GeoViewTappedAsync event so that I can place the code in my MapViewModel to follow an MVVM pattern for my WPF application, however I'm not sure how to wire this up. Is there some sample code available that demonstrates this pattern? After looking through GeoNet, I have found some suggestions but they are a few years old.


<esri:MapView x:Name="MainMap" Map="{Binding Map}"  GeoViewTapped="Binding {to what does this bind?}">


Thank you!