Class adf.MapSourceTile
Extends
adf.MapSource.
Defined in: Map.js.
Constructor Attributes | Constructor Name and Description |
---|---|
adf.MapSourceTile(tileUrl, tileWidth, tileHeight, numLevels, level, startColumn, endColumn, column, startRow, endRow, offsetX, offsetY, offY, tileType)
implementation for a tiled map service.
|
Field Attributes | Field Name and Description |
---|---|
The image file format.
|
|
The label to display on no data tiles if
this.showNoData is set to true. |
|
The number of cached levels in this map source
|
|
When set to true, wherever map tiles are unavailable, a place-holder tile displaying the string defined
by
this.noDataLabel will be used instead of an actual image. |
|
The default base url for this tiled map resource
|
- Fields borrowed from class adf.MapSource:
- doTileCleanUp, id, imageHeight, imageOpacity, imageWidth, imageZIndex, map, type
- Methods borrowed from class adf.MapSource:
- generateTileId, updateImages
Class Detail
adf.MapSourceTile(tileUrl, tileWidth, tileHeight, numLevels, level, startColumn, endColumn, column, startRow, endRow, offsetX, offsetY, offY, tileType)
implementation for a tiled map service. Provides the logic for handling
static/cached tiled map images.
- Parameters:
- {String} tileUrl
- Base url for this tiled map source
- {Integer} tileWidth
- Image width
- {Integer} tileHeight
- Image height
- {Integer} numLevels
- Number of levels in this tile map source
- {Integer} level
- Current level of this tile map source
- {Integer} startColumn
- Index number of start column of this tile map source at current level
- {Integer} endColumn
- Index number of end column of this tile map source at current level
- {Integer} column
- Column index number of the reference image. This reference image is used to populate map image holder
- {Integer} startRow
- Index number of start row of this tile map source at current level
- {Integer} endRow
- Index umber of end row of this tile map source at current level
- {Integer} offsetX
- X offset from the reference image
- {Integer} offsetY
- Y offset from the reference image
- offY
- tileType
Field Detail
{String}
fileFormat
The image file format. i.e. "PNG", "JPG"
- Default Value:
- "png"
{String}
noDataLabel
The label to display on no data tiles if
this.showNoData
is set to true.
- Default Value:
- "No Data"
{Integer}
numLevels
The number of cached levels in this map source
{Boolean}
showNoData
When set to true, wherever map tiles are unavailable, a place-holder tile displaying the string defined
by
this.noDataLabel
will be used instead of an actual image.
- Default Value:
- true
{String}
tileUrl
The default base url for this tiled map resource