I use Radmap for displaying trail in realtime
the problem is that clearing the data takes too much time (if there are more than 3000 items)
This is part of my code:
<telerik:RadMap....>
<telerik:VirtualizationLayer Visibility=True ItemsSource="{Binding LocationVMs}", ItemTemplate="{DynamicResource LocationTemplate}"/>
</telerik.RadMap>
Item template is:
<DataTemplate x:key="LocationTemplate">
<Ellipse telerik:MapLayer.Location="{Binding Model.Location}" Fill="Red" Width="2" Height="2"/.
</DataTemplate>
LocationVMs is list of MapLocationEntity that contains one Property named Location (its type is telerik.Windows.Controls.Map.Location)
in clearing I Clear LocationVMs list- and that causes to stack the system
(if I set VirtaulizationLayer to visibility=Collapsed the system is not stack after clearing the locationVMs list - so I know that the problem is during telrrik try to remove all the trail from the map)
Thanks