AnsweredAssumed Answered

Binding Mapview to viewModel, MVVM fashion

Question asked by Maxguo on Oct 10, 2017

I'm trying to use the new ShowCalloutAt(MapPoint, CalloutDefinition) method from Mapview, and I need to do it with MVVM fashion.. How can I bind my Mapview to the ViewModel? 

For my understanding, the MapView class doesn't have a bindable property that can directly interact with the ShowCallout method... I feel like I have to either do the callout from code-behind or define my Mapview inside of my ViewModel, neither of these feel like a good approach.. Can anyone give me some hints? 

Outcomes