Hi,
We are using silverlight version of Mapsuite and we are using server cache as explained below to for better map performance
layerOverlay.ServerCache = new ServerCache(mapCachePath + layerOverlay.Id);
However we observed that even though tiles are cached at certain zoom levels again there is a redraw which is happening every time we zoom the map.Kind of Maps file type what we are using is, ecw, jp2, jpeg etc with associated world files.
We did try to use cache generator for the above map file types with following changes in layer provider class.
{
var layertoadd=new EcwRasterLayer§;
layersToCache.Add(layertoadd);
}
I could observe that it is still redrawing the map and the performance is not improved.Can you suggest how can we improve the performance of the map?
Is the approach to generate cache is right or any change is needed?
Tile Cache generator for silverlight apps
Hi Bhavya,
Welcome to ThinkGeo Support Forums.
On our end, layer will not be redrawn if it was cached on server. Would you please let us know how you observed this? Or do you mean tiles will be requested from server every time we zoom the map?
The ServerCache is used for caching tile images on server side. When zooming or refreshing map, client will send tile request to server, tiles will not be redraw but return these cached images to client directly. So if there are more time-consuming layer in one overlay, the performance will improve more.
We are waiting for your reponse.
Thanks,
Kevin