Hello,
Do you have a VB.net sample on how this feature works?: InMemoryBitmapTileCache
i cant find any documantation...
Thanks,
Mark.
Hello,
Do you have a VB.net sample on how this feature works?: InMemoryBitmapTileCache
i cant find any documantation...
Thanks,
Mark.
Hello mark,
InMemoryBitmapTileCache is a concrete class inherits from BitmapTileCache. In this class, the tiles will be saved in disk and can be viewed very conveniently, that will help you to improve your program performance. The code is like:
Dim bitmapTileCache As New FileBitmapTileCache()
bitmapTileCache.CacheDirectory = "c:\cacheFoleder\"
bitmapTileCache.CacheId = "World02CachedTiles"
bitmapTileCache.ImageFormat = TileImageFormat.Png
staticOverlay.TileCache = bitmapTileCache
CacheDirectory: This parameter specifies the cache directory of the tile cache.
CacheId: This parameter specifies the cache id of the tile cache.
ImageFormat: This parameter specifies the image format of the tile cahce.
Any more questions just let us know.
Regards,
Gary
Ok. thanks
And what InMemoryBitmapTileCache does? it can save it to the memory istead of the disk? it can be faster?
Hello mark,
Sorry I use the BitmapTileCache as the sample, they are almost the same way to use. TileCahce system is very efficient in improving the performance of
application, especially when large data or remote server images are included, and InMemoryBitmapTileCache is a concrete class inherits from BitmapTileCache. In this class, the tiles will be saved in memory and it provides some properties to control it very easily.
Feel free to let us know your questions.
Regards,
Gary
That code is not working for me…
Could I have an example of InMemoryBitmapTileCache? I think it is not working for me…
Thanks for your help.
Tomás
Hi Tomas,
Thanks for your input, attached is the sample would you please try it?
if you have any more question , please feel free to let us know.
Best Regards
Summer
010_009_008_007_006_005_004_003_002_001_Sample.zip (10.3 KB)