Is there a setting in the API that allows for tiles that are larger than 256 pixels? If I use a url that is 256 pixels, then everything works. If I use a tile that is 512 or 1024, then there it feels like only a portion of the title is present in the outputted png.
using (XyzTiles layer = Drivers.XyzTiles.OpenLayer(new XyzConnection(url)))
{
WebTile tile = layer.GetTile(14, long2tilex(-87.6298, 14), lat2tiley(41.8781, 14));
using (var map = new Map(1024, 1024))
{
RasterLayer raster = tile.AsRaster();
Console.WriteLine(raster.Width);
Console.WriteLine(raster.Height);
map.Add(new RasterMapLayer(raster));
map.Render(mapPath, Renderers.Png);
}
}