Select to view content in your preferred language

MapView Events handled in ViewModel

2891
10
Jump to solution
11-01-2023 01:32 PM
Labels (3)
HS_PolkGIS
Occasional Contributor

Does ESRI have a single example of a MapView event being handled from a ViewModel using the best MVVM approach possible?

I am using the basic Display a Map example from ESRI and added Prism for commands and the event aggregator. How would you handle the GeoViewTapped event in the MapViewModel?

 

Edit

Thank you for the responses already. I should have included this in the original post.

Using WPF and .NET 6 and starting with this tutorial.   https://developers.arcgis.com/net/maps-2d/tutorials/display-a-map/

0 Kudos
10 Replies
HS_PolkGIS
Occasional Contributor

I will take a look at your sample and thanks again for your help. Your above post will be marked as the answer as I think that does answer the MapView question.

0 Kudos