Handling large number of nodes

2 posts, 0 answers
  1. Ian
    Ian avatar
    23 posts
    Member since:
    Jun 2011

    Posted 20 Dec 2011 Link to this post

    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
  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 23 Dec 2011 Link to this post

    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 >>

  3. DevCraft banner
Back to Top