OpenLayers.Layer.TMS - OpenLayers

# OpenLayers. Layer.TMS

#### Inherits from

- OpenLayers.Layer.Grid

Summary

OpenLayers. Layer.TMS |
Properties |
serviceVersion | {String}
isBaseLayer | {Boolean}
tileOrigin | {OpenLayers.Pixel}
Constructor |
OpenLayers. Layer.TMS |
Functions |
clone |
setMap | 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

{OpenLayers.Pixel}

### Constructor

### OpenLayers. Layer.TMS

#### Parameters

name | {String}
url | {String}
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

### 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 | )

> 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 OpenLayers.Map are interactive maps embedded in a web page.
Close