We have VisualizationLayer which has ~2400 item that make moving around the map is very slow
he is code example the resource is DrawingBrush with 2 GeometryDrawing one is arrow another is circle with stroke and fill in different colors. When the zoom level is low (you see more of the map) the map works very slowly. Can you tell me some solution for that?
01.
<
telerik:VisualizationLayer
ItemsSource
=
"{Binding items}"
>
02.
<
telerik:VisualizationLayer.ItemTemplate
>
03.
<
DataTemplate
>
04.
<
Rectangle
Fill
=
"{DynamicResource resource}"
05.
telerik:MapLayer.Location
=
"{Binding Location}"
06.
telerik:MapLayer.ZoomRange
=
"{Binding ZoomRange}"
07.
telerik:MapLayer.BaseZoomLevel
=
"{Binding BaseZoomLevel}"
08.
ToolTip
=
"{Binding FormattedDate}"
Width
=
"16"
Height
=
"16"
RenderTransformOrigin
=
"0,0"
>
09.
<
Rectangle.RenderTransform
>
10.
<
TransformGroup
>
11.
<
TranslateTransform
X
=
"-8"
Y
=
"-8"
/>
12.
<
RotateTransform
CenterX
=
"0"
CenterY
=
"0"
Angle
=
"{Binding Heading}"
/>
13.
</
TransformGroup
>
14.
</
Rectangle.RenderTransform
>
15.
</
Rectangle
>
16.
</
DataTemplate
>
17.
</
telerik:VisualizationLayer.ItemTemplate
>
18.
</
telerik:VisualizationLayer
>