Skip To Content ArcGIS for Developers Sign In Dashboard

TileInfo Class

(Esri::ArcGISRuntime::TileInfo)

Describes a map tile cache. More...

Header: #include <TileInfo>
Since: Esri::ArcGISRuntime 100.0

Public Functions

TileInfo()
TileInfo(int dpi, TileImageFormat format, const QList<LevelOfDetail> &levelsOfDetail, const SpatialReference &spatialReference, const Point &origin, int tileHeight, int tileWidth)
TileInfo(const TileInfo &other)
TileInfo(TileInfo &&other)
~TileInfo()
float compressionQuality() const
int dpi() const
TileImageFormat format() const
bool isEmpty() const
QList<LevelOfDetail> levelsOfDetail() const
Point origin() const
SpatialReference spatialReference() const
int tileHeight() const
int tileWidth() const
TileInfo &operator=(const TileInfo &other)
TileInfo &operator=(TileInfo &&other)

Detailed Description

Describes a map tile cache.

Represents the tiling scheme used by a cached map service. The tiling scheme describes how the map is broken up into tiles of images and how a client can use these tiles to display a map.

Member Function Documentation

TileInfo::TileInfo()

Default constructor.

TileInfo::TileInfo(int dpi, TileImageFormat format, const QList<LevelOfDetail> &levelsOfDetail, const SpatialReference &spatialReference, const Point &origin, int tileHeight, int tileWidth)

Constructor that accepts all properties.

  • dpi - The dots-per-inch of the tile cache.
  • format - The tile image format.
  • levelsOfDetail - A list of levels of detail that describe the scale levels.
  • spatialReference - The spatial reference.
  • origin - The origin (upper left corner) of the tiling scheme. Must have the same spatial reference as the source map document.
  • tileHeight - The height of each tile in pixels.
  • tileWidth - The width of each tile in pixels.

TileInfo::TileInfo(const TileInfo &other)

Copy constructor from other TileInfo.

TileInfo::TileInfo(TileInfo &&other)

Move constructor from other TileInfo.

TileInfo::~TileInfo()

Destructor.

float TileInfo::compressionQuality() const

Returns the compression quality.

int TileInfo::dpi() const

Returns the dots-per-inch of the tile cache.

TileImageFormat TileInfo::format() const

Returns the format of the images.

bool TileInfo::isEmpty() const

Gets whether the object is empty.

Returns true if empty.

QList<LevelOfDetail> TileInfo::levelsOfDetail() const

Returns the levels of detail.

Point TileInfo::origin() const

Returns the origin (upper left corner) of the tiling scheme.

SpatialReference TileInfo::spatialReference() const

Returns the spatial reference of this TileInfo.

int TileInfo::tileHeight() const

Returns the tile height in pixels.

int TileInfo::tileWidth() const

Returns the tile width in pixels.

TileInfo &TileInfo::operator=(const TileInfo &other)

Assignment operator from other TileInfo.

TileInfo &TileInfo::operator=(TileInfo &&other)

Move operator from other TileInfo.


Feedback on this topic?