Flush tile cache when changing modes

2 posts, 0 answers
  1. BP
    BP avatar
    4 posts
    Member since:
    Mar 2010

    Posted 18 May 2010 Link to this post

    How can we flush the tile cache when changing map modes? We have implemented a custom tile provider with three modes, but cached tiles seems to linger after a mode change.

    We are currently bypassing this behaviour by instantiating a new provider upon map style change.

  2. Andrey
    Andrey avatar
    1681 posts

    Posted 26 May 2010 Link to this post

    Hi Blub,

    The architecture of multimode tile providers has been changed.
    According to changing in MS MultiscaleImage of Silverlight 4 runtime the implementation of custom multimode provider should have separate tile source instance for each mode.
    Please see the overridden CustomOpenStreetMapProvider.GetSource method in attached custom open street multimode provider sample.

    Andrey Murzov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft banner
Back to Top