Improving Bingmaps rendering

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

    Posted 06 Dec 2013 Link to this post

    Hi there. Its come to the point in my project where i finally have some real world data to display. Even now its only a small subset.

    In some cases we may end up rendering > 500 points on a map. However even now this small subset (100-500) i notice alot of slowdown, when panning/zooming e.t.c on the map. I realise this is probably a bingmaps limitation but im looking for ways to improve any bottlenecks.

    Here is what i have done

    1) Use a Dynamic layer to draw all my sites
    2)Setup the dynamic layer zoomlist

    const int viewportWidth = 256;
    const int viewportHeight = 256;
     
    for (int zoomLayerIndex = 1; zoomLayerIndex <= 20; zoomLayerIndex += 1)
    {
        this.Dynamiclayer.ZoomGridList.Add(new ZoomGrid((int)(Math.Pow(2, zoomLayerIndex + 8) / viewportWidth),
            (int)(Math.Pow(2, zoomLayerIndex + 8) / viewportHeight), zoomLayerIndex));
    }

    3) Added display toggles to turn on/off various objects (most of with a rendered on different information layers). Things like kml/shapefiles e.t.c
    4) limited what i render to only very small [image] objects

    Do you have any other suggestions ? Ive also noticed it can be quite slow when rendering some kml files but that is less important for performance.

    Any other suggestions ?
  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 10 Dec 2013 Link to this post

    Hi Ian,

    In fact the performance of the information layer could be insufficient when displaying many map objects. In some cases you can overcome that by using the VirtualizationLayer to improve performance, but unfortunately it does not support map shapes.

    In the Q2 2013 release we've introduced new visualization engine in the RadMap. It has been designed from scratch to have better performance. The new engine is based on the VisualizationLayer class. I would recommend giving it a try.

    It contains built-in virtualization and clustering features which are simple to use. You can find documentation and examples of the new layer here:

    Let me know if it helps.

    Regards,

    Andrey Murzov

    Telerik

    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.

    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.

    Sign up for Free application insights >>




  3. DevCraft banner
Back to Top