XyzTiles Class
Contents
[
Hide
]Summary: A XyzTiles provide access to XyzTile objects.
Module: aspose.gis.formats.xyztile
Full Name: aspose.gis.formats.xyztile.XyzTiles
Inheritance: WebTiles
Aspose.PSD Version: 25.9.0
Constructors
| Name | Description |
|---|---|
| XyzTiles(connection) | Create an instance of XyzTiles. |
Methods
| Name | Description |
|---|---|
| get_tile(zoom, x, y) | Loads the specified tile. |
| get_tile(zoom, x, y, tile_size) | Loads the specified tile. |
| get_tiles(zoom, extent) | Loads tiles by the spatial bounding box and zoom level. |
| get_tiles(zoom, extent, tile_size) | Loads tiles by the spatial bounding box and zoom level. |
Constructor: XyzTiles(connection)
XyzTiles(connection)
Create an instance of XyzTiles.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| connection | XyzConnection | A connection containing web options. |
Method: get_tile(zoom, x, y)
get_tile(zoom, x, y)
Loads the specified tile.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| zoom | int | The zoom level for loading tiles. The highest zoom level is 0. Most tile providers have about 22 maximum zoom levels. |
| x | int | An x-column of a tile. |
| y | int | A y-row of a tile. |
Returns
| Type | Description |
|---|---|
| WebTile | The web tile. |
Method: get_tile(zoom, x, y, tile_size)
get_tile(zoom, x, y, tile_size)
Loads the specified tile.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| zoom | int | The zoom level for loading tiles. The highest zoom level is 0. Most tile providers have about 22 maximum zoom levels. |
| x | int | An x-column of a tile. |
| y | int | A y-row of a tile. |
| tile_size | int | Size of tiles, by default is 256 (it is standard for tiles size) |
Returns
| Type | Description |
|---|---|
| WebTile | The web tile. |
Method: get_tiles(zoom, extent)
get_tiles(zoom, extent)
Loads tiles by the spatial bounding box and zoom level.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| zoom | int | The zoom level for loading tiles. The highest zoom level is 0. Most tile providers have about 22 maximum zoom levels. |
| extent | Extent | The bounding box to load tiles. The Wgs84 spatial reference will be used if it is missed. |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<Aspose.Gis.Raster.Web.WebTile> | The web tiles. |
Method: get_tiles(zoom, extent, tile_size)
get_tiles(zoom, extent, tile_size)
Loads tiles by the spatial bounding box and zoom level.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| zoom | int | The zoom level for loading tiles. The highest zoom level is 0. Most tile providers have about 22 maximum zoom levels. |
| extent | Extent | The bounding box to load tiles. The Wgs84 spatial reference will be used if it is missed. |
| tile_size | int | Size of tiles, by default is 256 (it is standard for tiles size) |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<Aspose.Gis.Raster.Web.WebTile> | The web tiles. |