Describes a map tile cache. More...
Import Statement: | import Esri.ArcGISRuntime |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: |
- List of all members, including inherited members
- TileInfo is part of QML Type List.
Properties
- compressionQuality : real
- dpi : int
- format : string
- levelsOfDetail : list<LevelOfDetail>
- origin : Point
- spatialReference : SpatialReference
- tileHeight : int
- tileWidth : int
Signals
- dpiChanged()
- formatChanged()
- levelsOfDetailChanged()
- originChanged()
- spatialReferenceChanged()
- tileHeightChanged()
- tileWidthChanged()
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.
TileInfo may be declared or instantiated but it cannot be modified after creation. You may declare a TileCache object but property binding will not affect the values. You may also create a TileInfo object with the ArcGISRuntimeEnvironment.createObject
method.
This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.
Type | Default Property |
---|---|
LevelOfDetail | levelsOfDetail (appends to list) |
Point | origin |
SpatialReference | spatialReference |
See also TileCache.
Property Documentation
[read-only] compressionQuality : real |
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
(read-only).
If an error occurs or if the compression quality is not defined, NaN
is returned.
dpi : int |
The dots-per-inch of the tile cache.
format : string |
The format of the images.
If there's an error the return value is Enums.TileImageFormatUnknown.
[read-only] levelsOfDetail : list<LevelOfDetail> |
A list of LevelOfDetail instances. Each one has properties for its particular resolution and scale.
A list with LevelOfDetail.
origin : Point |
The origin (upper left corner) of the tiling scheme.
The Point must have ths same spatial reference as the source map document.
spatialReference : SpatialReference |
The spatial reference.
tileHeight : int |
The height of each tile in pixels.
tileWidth : int |
The width of each tile in pixels.
Signal Documentation
|
Emitted when the dpi property changes.
Note: The corresponding handler is onDpiChanged
.
This signal was introduced in Esri.ArcGISRuntime 100.2.
|
Emitted when the format property changes.
Note: The corresponding handler is onFormatChanged
.
This signal was introduced in Esri.ArcGISRuntime 100.2.
|
Emitted when the levelsOfDetail property changes.
Note: The corresponding handler is onLevelsOfDetailChanged
.
This signal was introduced in Esri.ArcGISRuntime 100.2.
|
Emitted when the origin property changes.
Note: The corresponding handler is onOriginChanged
.
This signal was introduced in Esri.ArcGISRuntime 100.2.
|
Emitted when the spatialReference property changes.
Note: The corresponding handler is onSpatialReferenceChanged
.
This signal was introduced in Esri.ArcGISRuntime 100.2.
|
Emitted when the tileHeight property changes.
Note: The corresponding handler is onTileHeightChanged
.
This signal was introduced in Esri.ArcGISRuntime 100.2.
|
Emitted when the tileWidth property changes.
Note: The corresponding handler is onTileWidthChanged
.
This signal was introduced in Esri.ArcGISRuntime 100.2.