Mostly, the performance of dynamic layer depends on its ZoomGridList you will use in your application. The optimal value for the Latitudes and Longitudes count depends on the viewport size of the map control and the min zoom level of the zoom grid. I think that the dynamic layer will have best performance when the square size for request will be approximately equal to the viewport size.
The count could be calculated in the following way:
1. The viewport size is 1024x1024 for example.
2. The map size is 512x512 when the zoom level is 1, 1024x1024 for 2 and 2048x2048 for 3 etc. The map size is calculated as 2 ^ (zoom level 8).
3. When the zoom level is 3, then the count could be calculated as 2048 / 1024 = 2. I.e. count is calculated as map size/ viewport size.
I would recommend using the way of ZoomGridList calculation above for achieving good performance for high zoom levels.
The dynamic layer adds/removes items dynamically. It works with squares which are calculated according to its ZoomGridList. When a square appears within the visible area of map then the dynamic layer adds its items onto the view. When a square gets out from visible area then the dynamic layer removes its items. During the panning a few squares can change its visibility. When squares contain a lot of shapes then this process takes a long time.
It looks like you are using DynamicLayer in a wrong way, or your map shapes aren't so simple as you think. Also I'm absolutely not sure that the performance of rendering vectors is just about the worst of any product out there. Could you please tell us what products have you used for comparison of this factor?
Also it is very complicated and it is hard to reproduce the problem without your solution. Could you, please, provide us with your solution and data for detailed analysis?
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>