TileInfo

class TileInfo

Represents the tiling scheme used by a cached map service. For example, ArcGIS Server cached map service, Bing Maps, etc. The tiling scheme contains information about how a map is broken up into tiles of images and how a client can use these tiles to display a map.

Since

200.1.0

Constructors

Link copied to clipboard
constructor(dpi: Int, format: TileImageFormat, levelsOfDetail: Iterable<LevelOfDetail>, origin: Point, spatialReference: SpatialReference, tileHeight: Int, tileWidth: Int)

Create tile information.

Properties

Link copied to clipboard

The compression quality of the tile images. The compression quality controls how much loss the image will be subjected to by the compression algorithm. The values of the pixels of an image compressed with a higher compression quality will be closer to those of the original image. The valid range of compression quality values is from 0 to 100. If an error occurs or if the compression quality is not defined, NaN is returned.

Link copied to clipboard
val dpi: Int

The DPI (dots per inch) of the tiles.

Link copied to clipboard

The format of the tile images. If there's an error the return value is TileImageFormat.Unknown.

Link copied to clipboard

A list of LevelOfDetail instances. Each one has properties for its particular resolution and scale. A ListImpl with LevelOfDetail.

Link copied to clipboard

The origin of the tile info within the spatial reference. The origin is the upper left corner of the tiling scheme grid.

Link copied to clipboard

The spatial reference for the tile info.

Link copied to clipboard

The height of each tile in pixels.

Link copied to clipboard

The width of each tile in pixels.