I also have a performance issue with RadMap. We are trying to display items moving on the map. Each item is represented by an icon (image + label) and a trail showing the path that the item has taken (typically 20 trail points per item). In an extreme case we might have to display 500 moving items (we receive approximately 1 position update per second for each item).
For each item I have a view model representing the item itself, and a view model for each trail segment. Item view models collection is bound to one visualisation layer (data template for item has an image, ellipse and canvas elements), and the trail segments are bound to another visualisation layer (data template for trail segment uses PolyLineView).
As we increase the number of moving items the map performance gets worse (slow to pan and zoom, and whole application can become unresponsive).
I have a number of approaches I want to try:
- replace individual trail segments with a single PolyLineView.
- simplify data template for the "item". Currently this is fairly complex, displaying a label for the item (using a canvas to offset the label from the image), and may also show an Ellipse to highlight the item.
Will the map be capable of displaying the amount of (dynamically changing) data I wish to show Do you have any other ideas I could use to improve performance? Does RadMap provide any metrics that would allow me to objectively assess rendering performance?