This is a migrated thread and some comments may be shown as answers.

Handling large number of nodes

1 Answer 70 Views
Map
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 1
Ian asked on 21 Dec 2011, 05:09 AM
Hi everyone, this is more of a general question regarding bingmaps performance
I have roughyl 11000 seperate nodes i want to display on the map, this obviously slows down performance to a crawl so i am looking at ways i can perhaps group nodes or drill down nodes to display them all.

Does anyone have any experience with rendering large amounts of nodes on a map and any tips/tricks i can use to improve performance.

Thanks

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 23 Dec 2011, 03:55 PM
Hello Ian,

The rendering performance can be insufficient when you add a lot points on a map. I would recommend using the dynamic layer for loading shapes according to zoom level and region. Please take a look the Using Dynamic Layer topic of our documentation and the Items Virtualization example.
http://www.telerik.com/help/silverlight/radmap-features-dynamic-layer.html
http://demos.telerik.com/silverlight/#Map/DynamicLayer

I have attached two sample solutions which use 100000 random generated points. One of them uses the Dynamic Layer to show points. Second solution uses the information layer. It uses a  separate thread to select visible items from item collection. Also it selects visible items when the panning and zooming complete. It prevents hanging of UI thread during user's action.
I hope you can choose the approach which is more preffered for your application.

Regards,
Andrey Murzov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Map
Asked by
Ian
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or