This question is locked. New answers and comments are not allowed.
Hi,
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, }; dynamicLayer.Items.Add(polyline); 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.
MapLayer.SetBaseZoomLevel(polyline, 14);MapLayer.SetMaxScale(polyline, 3);MapLayer.SetMinScale(polyline, 2);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.