public IList <TileInfo> GetTilesInView(Extent extent, int level) { IList <TileInfo> infos = new List <TileInfo>(); TileRange range = _axis.WorldToTile(extent, level, this); infos.Clear(); for (int x = range.FirstCol; x < range.LastCol; x++) { for (int y = range.FirstRow; y < range.LastRow; y++) { var info = new TileInfo(); info.Extent = _axis.TileToWorld(new TileRange(x, y), level, this); info.Index = new TileIndex(x, y, level); if (WithinSchemaExtent(Extent, info.Extent)) { infos.Add(info); } } } return(infos); }