ITileService.GetTile has row/col swapped for LocalNative connection
|Reported by:||hm||Owned by:||jng|
|Severity:||minor||Keywords:||ITileService GetTile row column|
When using the ITileService to generate tiles, I have discovered that when using a Maestro.LocalNative connection (instead of Http) the row and col parameter should be swapped or else the wrong tile is generated. However the API states that row comes first. I have made the following code in my application to bypass the bug (this also explains the problem better):
Stream image = null; if (isLocalNative)
image = tileSvc.GetTile(mapdef, basegroupname, col, row, scaleindex, format); Bug in MaestroAPI
image = tileSvc.GetTile(mapdef, basegroupname, row, col, scaleindex, format);
Please fix the MaestroAPI 4.0 branch to make the properties in the same order for both LocalNative and Http.