On my RadMap I have some InformationLayers and one of them is showing some objects as MapShape type "MapLine". Point1 and Point2 are set so the lines are displayed correctly. Now I have to extend those lines.
Our customer wants to see little bubbles at start and end point of each line. It seems a combination of MapShapes is not possible inside ItemTemplate so using one "MapLine" and two "MapEllipse" objects is not possible, right? As far as I understand the documentation one possibility is to use a single MapShape (that's what I currently have) and the other is using a FrameworkElement. But I cannot use FrameworkElement because those objects do not have Properties for RadMap like Point1/Point2 or Location.
ItemTemplate now:
What I expected as solution but didn't found
Our customer wants to see little bubbles at start and end point of each line. It seems a combination of MapShapes is not possible inside ItemTemplate so using one "MapLine" and two "MapEllipse" objects is not possible, right? As far as I understand the documentation one possibility is to use a single MapShape (that's what I currently have) and the other is using a FrameworkElement. But I cannot use FrameworkElement because those objects do not have Properties for RadMap like Point1/Point2 or Location.
ItemTemplate now:
<
DataTemplate
>
<
tel:MapLine
Visibility
=
"{Binding Visibility}"
StrokeThickness
=
"{Binding LineThickness}"
Point1
=
"{Binding Point1}"
Point2
=
"{Binding Point2}"
/>
</
DataTemplate
>
What I expected as solution but didn't found
:
<
DataTemplate
>
<
tel:MapShapeCollectionOrSomethingLikeThat
>
<
tel:MapEllipse
tel:MapLayer.Location="{Binding Point1}" />
<
tel:MapLine
Visibility
=
"{Binding Visibility}"
StrokeThickness
=
"{Binding LineThickness}"
Point1
=
"{Binding Point1}"
Point2
=
"{Binding Point2}"
/>
<
tel:MapEllipse
tel:MapLayer.
Location="{Binding Point2}" />
</
tel:MapShapeCollectionOrSomethingLikeThat
>
</
DataTemplate
>