Hide Table of Contents
esri/dijit/util
esri/layer/pixelFilters
esri/process
esri/workers
Class: TileInfo

require(["esri/layers/TileInfo"], function(TileInfo) { /* code goes here */ });

Description

(Added at v1.0)
Contains information about the tiling scheme for an ArcGISTiledMapServiceLayer. TileInfo has no constructor.

Samples

Search for samples that use this class.

Constructors

NameSummary
new TileInfo(properties)Creates a new object describing the given tiling scheme.

Properties

NameTypeSummary
dpiNumberThe dpi of the tiling scheme.
formatStringImage format of the cached tiles.
heightNumberHeight of each tile in pixels.
lodsLOD[]An array of levels of detail that define the tiling scheme.
originPointThe tiling scheme origin.
spatialReferenceSpatialReferenceThe spatial reference of the tiling schema.
widthNumberWidth of each tile in pixels.

Methods

NameReturn typeSummary
toJson()ObjectConverts object to its ArcGIS Server JSON representation.
Constructor Details

new TileInfo(properties)

Creates a new object describing the given tiling scheme. (Added at v3.4)
Parameters:
<Object> properties Required Properties describing the tiling scheme.
Property Details

<Number> dpi

The dpi of the tiling scheme.

<String> format

Image format of the cached tiles. Valid values are png8, png24, png32, and jpg.

<Number> height

Height of each tile in pixels.

<LOD[]> lods

An array of levels of detail that define the tiling scheme.

<Point> origin

The tiling scheme origin.

<SpatialReference> spatialReference

The spatial reference of the tiling schema. See Projected Coordinate Systems and Geographic Coordinate Systems for the list of supported spatial references.

<Number> width

Width of each tile in pixels.
Method Details

toJson()

Converts object to its ArcGIS Server JSON representation. (Added at v3.4)
Return type: Object