I have a custom class that I'm adding to a VisualizationLayer. I'm using the following template to display it:
<
DataTemplate
x:Key
=
"PolygonTemplate"
>
<
telerik:MapPolygonView
Points
=
"{Binding Points}"
ShapeFill
=
"{Binding ShapeFill}"
/>
</
DataTemplate
>
Works great. But I don't know how to get the ZIndex working. I tried adding my own ZIndex (that calls PropertyChanged), inheriting from ExtendedDataProvider, putting Canvas.ZIndex in the template but the z-order of the item never changes. If I use a normal PolygonData with the default template, the z-order updates.