Multiple instances of RadMap with Tile Caching enabled

2 posts, 0 answers
  1. Denis
    Denis avatar
    1 posts
    Member since:
    Sep 2010

    Posted 02 Jul 2013 Link to this post

    Hello.

    In our solution we have to display multiple maps in different views of the application. We use different instances of the BingMapProvider for each of the map created. If we enable Tile Caching on at least two of the providers soon we run into the problem of accessing to the same cache file from two threads simultaneously, resulting in exception.

    Is there any workaround for this issue?

    Thanks.
  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 03 Jul 2013 Link to this post

    Hello Denis,

    It is very complicated and it is hard to reproduce the problem without your solution, but using just a description you sent. We have created a sample application which uses four RadMap instances which use BingMapProvider with tile caching. The application sets identical center and zoom level to each map, but all maps works as expected without any unhandled exceptions.
    Could you, please, provide us with your solution or with a small sample solution which reproduces the issue?

    Regards,
    Andrey Murzov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    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. UI for WPF is Visual Studio 2017 Ready
Back to Top