OpenLayers JavaScript Mapping Library |
OpenLayers. Layer. TileCacheA read only TileCache layer. Used to requests tiles cached by TileCache in a web accessible cache. Create a new instance with the OpenLayers.Layer.TileCache constructor. Inherits fromSummary
tileOrigin{OpenLayers.LonLat} Location of the tile lattice origin. Default is bottom left of the maxExtent. OpenLayers. Layer. TileCacheCreate a new read only TileCache layer. Parameters
clone
Returns{OpenLayers.Layer.TileCache} An exact clone of this OpenLayers.Layer.TileCache getURL
Parameters
Returns{String} A string with the layer’s url and parameters and also the passed-in bounds and appropriate tile size specified as parameters. addTile
Create a tile, initialize it, and add it to the layer div. Parameters
Returns{OpenLayers.Tile.Image} The added OpenLayers.Tile.Image setMap
When the layer is added to a map, then we can fetch our origin (if we don’t have one.) Parameters
|
clone: function ( obj )
getURL: function( bounds )
Create a tile, initialize it, and add it to the layer div.
addTile:function( bounds, position )
When the layer is added to a map, then we can fetch our origin (if we don’t have one.)
setMap: function( map )