Hello
I have a collection from RIA services that has a Longitude and Latitude values stored as doubles in each entity.
I am trying to bind these values in an InformationLayer.ItemTemplate but without much success.
<
telerik:InformationLayer.ItemTemplate
>
<
DataTemplate
>
<
Grid
Width
=
"20"
Height
=
"29"
>
<
telerik:MapLayer.Location
>
<
telerik:Location
>
<
telerik:Location.Latitude
=
"{Binding Asset_Latitude}"
/>
<
telerik:Location.Longitude
=
"{Binding Asset_Longitude}"
/>
</
telerik:Location
>
</
telerik:MapLayer.Location
>
etc.
</
Grid
>
</
DataTemplate
>
</
telerik:InformationLayer.ItemTemplate
>
Can you help me with the syntax for this please, if it is possble.
I know I could create a converter but I want to keep my code tight and pass the entity collection straight to the InformationLayer, ideally.
Many thanks
Mark.