OpenLayers. Layer.TMS

Inherits from

Summary
{String}
{Boolean}
addTile creates a tile, initializes it, and adds it to the layer div.
When the layer is added to a map, then we can fetch our origin (if we don’t have one.)

Properties

serviceVersion

{String}

isBaseLayer

{Boolean}

tileOrigin

Constructor

OpenLayers. Layer.TMS

Parameters

name{String}
url{String}
params{Object}
options{Object} Hashtable of extra options to tag onto the layer

Functions

clone

clone: function (obj)

Parameters

obj{Object}

Returns

{OpenLayers.Layer.TMS} An exact clone of this OpenLayers.Layer.TMS

getUrl

Parameters

bounds{OpenLayers.Bounds}

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

addTile:function(bounds,
position)

addTile creates a tile, initializes it, and adds it to the layer div.

Parameters

bounds{OpenLayers.Bounds}

Returns

{OpenLayers.Tile.Image} The added OpenLayers.Tile.Image

setMap

setMap: function(map)

When the layer is added to a map, then we can fetch our origin (if we don’t have one.)

Parameters

map{OpenLayers.Map}
This class represents a screen coordinate, in x and y coordinates
clone: function (obj)
addTile:function(bounds,
position)
addTile creates a tile, initializes it, and adds it to the layer div.
setMap: function(map)
When the layer is added to a map, then we can fetch our origin (if we don’t have one.)
Base class for layers that use a lattice of tiles.
Instances of this class represent bounding boxes.
Instances of OpenLayers.Tile.Image are used to manage the image tiles used by various layers.
Instances of OpenLayers.Map are interactive maps embedded in a web page.