I draw a polyline in RadMap and i would like to set zoom range. I've tried this, but it does not work for me.
MapPolyline polyline = new MapPolyline()
Points = p,
Stroke = new SolidColorBrush(c),
StrokeThickness = 2,
MapLayer.SetZoomRange(polyline, new ZoomRange(14, 20));
I also wanted the StrokeThickness grows with the zoom level. I've tried this, but it also does not work.
Finally, i am drawing traffic status over the roads in a city. These are a lot of UI elements, and it's very very slow. How can i improve the performance. Could I hide some elements (polylines, etc) based on its visibility? i mean all the city may be is not been displayed at the same time.
Thanks for your help.