XyzTiles Class

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

NameDescription
XyzTiles(connection)Create an instance of XyzTiles.

Methods

NameDescription
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:

ParameterTypeDescription
connectionXyzConnectionA connection containing web options.

Method: get_tile(zoom, x, y)

 get_tile(zoom, x, y) 

Loads the specified tile.

Parameters:

ParameterTypeDescription
zoomintThe zoom level for loading tiles. The highest zoom level is 0. Most tile providers have about 22 maximum zoom levels.
xintAn x-column of a tile.
yintA y-row of a tile.

Returns

TypeDescription
WebTileThe web tile.

Method: get_tile(zoom, x, y, tile_size)

 get_tile(zoom, x, y, tile_size) 

Loads the specified tile.

Parameters:

ParameterTypeDescription
zoomintThe zoom level for loading tiles. The highest zoom level is 0. Most tile providers have about 22 maximum zoom levels.
xintAn x-column of a tile.
yintA y-row of a tile.
tile_sizeintSize of tiles, by default is 256 (it is standard for tiles size)

Returns

TypeDescription
WebTileThe web tile.

Method: get_tiles(zoom, extent)

 get_tiles(zoom, extent) 

Loads tiles by the spatial bounding box and zoom level.

Parameters:

ParameterTypeDescription
zoomintThe zoom level for loading tiles. The highest zoom level is 0. Most tile providers have about 22 maximum zoom levels.
extentExtentThe bounding box to load tiles. The Wgs84 spatial reference will be used if it is missed.

Returns

TypeDescription
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:

ParameterTypeDescription
zoomintThe zoom level for loading tiles. The highest zoom level is 0. Most tile providers have about 22 maximum zoom levels.
extentExtentThe bounding box to load tiles. The Wgs84 spatial reference will be used if it is missed.
tile_sizeintSize of tiles, by default is 256 (it is standard for tiles size)

Returns

TypeDescription
System.Collections.Generic.IEnumerable<Aspose.Gis.Raster.Web.WebTile>The web tiles.