Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Xamarin.Forms map custom renderer example with an MVVM pattern

$
0
0

I followed the example here https://developer.xamarin.com/guides/xamarin-forms/application-fundamentals/custom-renderer/map/customized-pin/
And looked at the example code here https://developer.xamarin.com/samples/xamarin-forms/CustomRenderers/Map/Pin/

Problem is that I am using an MVVM pattern and it seems that this example will not work with code anywhere but in the code behind...

What am I missing here ?

I have tried to bind the CustomPins to a a list in the view model that is the binding context of the page but it does not see them.

I try to bind the position to a view model position and it navigates to Rome (I am using 40.628836,-79.170909)

Any help is appreciated


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>