Skip To Content ArcGIS for Developers Sign In Dashboard

TileInfo Class

class Esri::ArcGISRuntime::TileInfo

Describes a map tile cache. More...

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

This class was introduced in Esri::ArcGISRuntime 100.0.

Public Functions

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

Detailed Description

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(Esri::ArcGISRuntime::TileInfo &&other)

Move constructor from other TileInfo.

TileInfo::TileInfo(const Esri::ArcGISRuntime::TileInfo &other)

Copy constructor from other TileInfo.

TileInfo::TileInfo(int dpi, Esri::ArcGISRuntime::TileImageFormat format, const QList<Esri::ArcGISRuntime::LevelOfDetail> &levelsOfDetail, const Esri::ArcGISRuntime::SpatialReference &spatialReference, const Esri::ArcGISRuntime::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()

Default constructor.

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

Move operator from other TileInfo.

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

Assignment operator 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.

Esri::ArcGISRuntime::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<Esri::ArcGISRuntime::LevelOfDetail> TileInfo::levelsOfDetail() const

Returns the levels of detail.

Esri::ArcGISRuntime::Point TileInfo::origin() const

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

Esri::ArcGISRuntime::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.


Feedback on this topic?