Hi,
I have been bugged by tiles issues (a tile for the wrong zoom level showing on another zoom level) when using "TileType = TileType.MultipleTile;" for sometime and at the end I was just using "TileType = TileType.SingleTile;" for my wms layers. However, I found that the issue could be generated when using on the "wms" server plugin the following option:
var bitmapTileCache = new FileBitmapTileCache {
CacheDirectory = @"R:\AqueductGlobalMaps",
CacheId = PlugName,
ImageFormat = TileImageFormat.Png,
};
mapconf.TileCache = bitmapTileCache;
mapconf.TileCache.ImageFormat = TileImageFormat.Png;
mapconf.TileCache.TileAccessMode = TileAccessMode.ReadAdd;
if I disable the bitmaptilecache then error go away…
please could you check it?
jm.
Tile issues possible bug
Hi Jm,
I tried to recreate your issue on the WMS Server Edition, but failed, I am wondering if there are any differences between the codes. Would you mind to take a video to show the issue?
Here is the test video. screencast.com/t/lxWdfwKNHS
Regards,
Johnny
Hi Jm,
I test our this issue again, but still can’t recreate it.
I guess you can try to disable the BrowerCache in your plugin like this:
public class DisplayASimpleMapWmsLayerPlugin : WmsLayerPlugin
{
public DisplayASimpleMapWmsLayerPlugin()
{
this.BrowerCacheExpiration = new TimeSpan(0,0,0);
this.WmsQueryMode = ThinkGeo.MapSuite.WmsServerEdition.WmsQueryMode.Queryable;
}
Also, would you let us know what environments the WMS Server is deployed at? I just want to know if you are testing it in your development machine or in a server. I tested it in both window7 and window8 with latest wms server version.
Thanks,
Johnny