Hi - i had put this at the bottom of the previous thread but I think it's a separate issue and since we resolved the last one I just wanted to create a new thread for it -
With the server side cache is it appears that tiles are still getting created and cached when the Tile Access mode is set to read-only.
I am running a client that is using the DEFAULT map style. This style is using a tile cache with the tile access mode set to Read-Only as you can see in the code i've posted, but tiles are still being created and stored on the server -
Thanks,
Chris
protected
override MapConfiguration GetMapConfigurationCore(string style, string crs)MapConfiguration mapConfiguration = new MapConfiguration();new FileBitmapTileCache(@"C:\BitmapTileCache", "PrimaryCache");switch (style)case "DEFAULT":RTSMapInitialization.StyleType.Default);TileAccessMode.ReadOnly;true;break;case "SATELLITE":RTSMapInitialization.StyleType.Satellite);TileAccessMode.ReadOnly;true;break;case "CACHE":RTSMapInitialization.StyleType.Cached);TileAccessMode.ReadAddDelete;break;default:RTSMapInitialization.StyleType.Default);TileAccessMode.ReadOnly;true;break;return mapConfiguration;
{
mapConfiguration.TileCache =
{
AddDefaultLayers(mapConfiguration.Layers,
mapConfiguration.TileCache.TileAccessMode =
mapConfiguration.TileCache.ReadOnly =
AddSatelliteLayers(mapConfiguration.Layers,
mapConfiguration.TileCache.TileAccessMode =
mapConfiguration.TileCache.ReadOnly =
AddDefaultLayers(mapConfiguration.Layers,
mapConfiguration.TileCache.TileAccessMode =
AddDefaultLayers(mapConfiguration.Layers,
mapConfiguration.TileCache.TileAccessMode =
mapConfiguration.TileCache.ReadOnly =
}
}