From 898c67c4b8bd2027d447f02f2e8694c2596605d4 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Sun, 19 Nov 2006 19:54:42 +0000 Subject: [PATCH] Commit TMS support from 'crschmidt/refractions' Ticket #394 , reviewed by Schuyler. git-svn-id: http://svn.openlayers.org/trunk/openlayers/doc@1927 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- Layer.TMS.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Layer.TMS.txt diff --git a/Layer.TMS.txt b/Layer.TMS.txt new file mode 100644 index 0000000000..312484859f --- /dev/null +++ b/Layer.TMS.txt @@ -0,0 +1,15 @@ +OpenLayers.Layer.TMS + +The TMS layer allows one to connect to a TMS -- Tiled Map Service -- server to obtain images. + +* Constructor + OpenLayers.Layer.TMS(name, url, options) -- URL is the base URL to the layer. Options is a set of options, extending the parameters of the layer. + +* Methods + getURL({OpenLayers.Bounds|bounds}) -- {String} -- Returns a TMS URL for the given bounds based on the properties of the layer. + All other methods are inherited from {OpenLayers.Layer.Grid} + +* Options + tileOrigin -- The tileOrigin option will allow you to set your tileOrigin to something other than the lower left extent of your map. + layername -- Name of the layer in the TMS request. + type -- The extension images have.