I'm having some trouble with the WPF Map Control. On my application I'm generating about 2636 polygons (triangles) and attaching them to the Information Layer.
Each MapPolygon is being created like so:
var polygon=New MapPolygon
Fill = currentStyle.FillColor,
Stroke = currentStyle.Stroke,
StrokeThickness = currentStyle.Thickness,
Opacity = currentStyle.Opacity,
This operation works fine and my triangles are properly generated on the map. Pan operations are fluid and without trouble, but zooming operations (in and out) raise severe performance issues, from enourmous memory/processor consumption to a sort of "delay" between the time that I issue the zoom order and the time the order gets carried out by the map.
This problem only occurs with >1000 polygons on the map, regardless of type (rectangles, triangles, etc.).
So, I would like your help on this. First I must ask if there is any known performance limitation/cap related with this matter (gernerating polygons on the map)? If not, can you tell me what might be the cause for this trouble?
And secondly, what avaible workarounds are there that won't imply using a dynamic layer over the map to manage the objects?
Thanks in advance for the help and for the time taken with this matter!