Hello,
I'm not 100% sure, but I've a strange behavior :
When calling a custom Wms server with the MapSuite Silverlight client, it asks for 256x256 tiles. That's wonderfull.
But, server side, when using the code below to read my server cache and send the right 256x256 picture, the server says that it must read 4 tiles (each 256x256) in order to build the 256x256 picture the Sl client asked for. It should only read the right tile and send it, doesn't it ?
That's strange, it looks like the silverlight client does not use the same tiling mechanism as the MapSuiteTileMatrix object does.
Here is the code I use server side :
var matrix = new MapSuiteTileMatrix(parameter.Scale, 256, 256, GeographyUnit.Meter); var bitmapCache = new FileBitmapTileCache(CacheFolder, "cacheId", TileImageFormat.Png, matrix); var tiles = bitmapCache.GetTiles(parameter.BoundingBox);
and the tiles variable contains 4 tiles.
I don't want to concatenate 4 256x256 tiles every time I ask for a 256x256 tile, but I can't find how to solve this.
Can you please give me some advice ?
Many thanks.
Guillaume.