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

Flush tile cache when changing modes

1 Answer 64 Views
Map
This is a migrated thread and some comments may be shown as answers.
BP
Top achievements
Rank 1
BP asked on 18 May 2010, 12:25 PM
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.

--
BP

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 26 May 2010, 08:06 AM
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.

Greetings,
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.
Tags
Map
Asked by
BP
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or