Forum Cross Platform with Xamarin
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

How bind Polyline (MVVM) using in Xamarin.Forms.Maps

Hallo,

Maybe somebody can help me, I like to make a binding with MVVM in Xamarin.Forms.Maps of the polyline(s), but can't get to work. Do I need to use:

            <maps:Map.ItemTemplate>
                            <DataTemplate>
                                <maps:Polyline BindingContext="{Binding Polyliness}" />
                            </DataTemplate>
                        </maps:Map.ItemTemplate>

Any hints a more than welcome :)

Best Answer

Answers

  • anteroantero Member ✭✭

    Hi LandLu,

    thank you very much, this was the solution, I was Looking for. It works perfectly for me

    Many thanks,

    Markus

Sign In or Register to comment.