Select to view content in your preferred language

Binding Mapview to viewModel, MVVM fashion

551
0
10-10-2017 07:28 PM
LY90
by
New Contributor II

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? 

0 Replies