MapOverlay binding not working

后端 未结 2 1274
不思量自难忘°
不思量自难忘° 2021-01-06 12:16

I\'m trying to get a map overlay working on Windows Phone 8 using an MVVM code structure. I can\'t seem to get the GeoCoordinate property of the MapOverlay to bind to my Vie

2条回答
  •  孤街浪徒
    2021-01-06 12:56

    To fix this you need to implicitly tell your binding where to find the property, in MVVM Light world it would look like:

        
                                
                            
    

    also, you will need the dispatcher on the viewmodel to handle the ui change

提交回复
热议问题