Class Index | File Index

Classes


Class adf.MapSource


Defined in: Map.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
The base class for defining a specific map server implementation.
Field Summary
Field Attributes Field Name and Description
 
When set to true, map image tiles are removed when they are no longer in the visible area.
 
id
The map source id
 
The width of each map tile
 
The CSS opacity property value for image elements in this map source
 
The width of each map tile
 
The CSS z-index property value for image elements in this map source
 
map
The adf.Map instance this map source is bound to
 
The map source type.
Method Summary
Method Attributes Method Name and Description
 
generateTileId(row, col)
Generates the url to a given map image tile
 
updateImages(rect, extent, skipCleanUp)
Generates a list of image URLs that are in or just around the visible extent if they are not currently loaded in the map.
Class Detail
adf.MapSource(type)
The base class for defining a specific map server implementation. Two out of the box implementations include adf.MapSourceDynamic and adf.MapSourceTile.
Parameters:
{String} type
The type of mapsource
Field Detail
{Boolean} doTileCleanUp
When set to true, map image tiles are removed when they are no longer in the visible area.
Default Value:
true

{String} id
The map source id
Default Value:
"EsriMapSource"

{Integer} imageHeight
The width of each map tile
Default Value:
0

{Number} imageOpacity
The CSS opacity property value for image elements in this map source
Default Value:
1

{Integer} imageWidth
The width of each map tile
Default Value:
0

{Integer} imageZIndex
The CSS z-index property value for image elements in this map source
Default Value:
0

{adf.Map} map
The adf.Map instance this map source is bound to
Default Value:
null

{String} type
The map source type. 'dynamic' is for dynamic source. 'tile' is for tile source
Method Detail
generateTileId(row, col)
Generates the url to a given map image tile
Parameters:
{Integer} row
The row of the map tile
{Integer} col
The column of the map tile

updateImages(rect, extent, skipCleanUp)
Generates a list of image URLs that are in or just around the visible extent if they are not currently loaded in the map. Proceeds to load the new image urls into the document afterwards.
Parameters:
{adf.Rectangle} rect
represents a map area in the image container adf.Map#imageGrid
{adf.Extent} extent
map extent
{Boolean} skipCleanUp Optional
if false, invisible tiles get cleaned

Documentation generated by JsDoc Toolkit 2.1.0 on Mon May 17 2010 13:45:43 GMT-0700 (PDT)