6 Answers, 1 is accepted

Hello bharathi,
Can you tell me how do you download the images? Also, do you use the RadMap control? If so, how exactly? Can you send a code snippet showing your setup?
If you use the OpenStreetMapProvider (of RadMap), keep in mind that, it doesn't download the tile images on the file system, but storing them in memory.
Note that, I've deleted the duplicated post in the ImageEditor forum section.
Regards,
Martin Ivanov
Progress Telerik

Thanks for your update. Yes. I am using RadMap control and find my code snippet.
<telerik:RadMap x:Name="radMap" ZoomLevel="1">
<telerik:RadMap.Provider>
<telerik:OpenStreetMapProvider />
</telerik:RadMap.Provider>
</telerik:RadMap>
I am not clear on “Storing tiles in memory”. In which location, you are caching tiles and re-use while zooming and panning. If yes, is there option to store the tiles in the specified location as like dev-express caching tiles.?
https://documentation.devexpress.com/WPF/12205/Controls-and-Libraries/Map-Control/Examples/Map-Image-Data/How-to-Cache-Image-Tiles-Locally
Thanks,

Hi
Any update on this.?
Hello bharathi,
By store tiles in memory I meant that the tiles that should be displayed are downloaded and stored in the memory, rather than being accessed via a hard disk file, or a DB server, or similar. However, I was not completely correct here. Actually, you can enable tile images caching by setting the INsTileCachingEnabled property to True. In this case, the images are stored on the file system. More specifically, the AppData folder. The following special folder is used to construct the base file location - Environment.SpecialFolder.LocalApplicationData.
The path then looks like this: C:\Users\<username>\AppData\Local\TelerikMapCache\OpenStreetMapProvider\
You can customize the cache settings or replace it via the CacheStorage property of the OpenStreetMapProvider. By default the provider uses the FileStorageCache. You can also use IsolatedStorageCache and MemoryCache.
To replace the default path of the FileStorageCache, set its CachePath property. For example:
<telerik:OpenStreetMapProvider IsTileCachingEnabled="True">
<telerik:OpenStreetMapProvider.CacheStorage>
<telerik:FileSystemCache CachePath="C:\temp\OSMCache" />
</telerik:OpenStreetMapProvider.CacheStorage>
</telerik:OpenStreetMapProvider>
Note that the cached files use fake extension that corresponds to their position. For example: *.9x0x1. To see the image, you can change the file's extension to .png.
Regards,
Martin Ivanov
Progress Telerik
