From 3a70b7daef8c6d3557b8235996ff82203e501bf7 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Wed, 16 Aug 2006 19:15:34 +0000 Subject: [PATCH] Commit documentation for tile classes. git-svn-id: http://svn.openlayers.org/trunk/openlayers/doc@1254 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- Tile.Image.txt | 7 +++++++ Tile.WFS.txt | 6 ++++++ Tile.txt | 10 ++++++++++ 3 files changed, 23 insertions(+) create mode 100644 Tile.Image.txt create mode 100644 Tile.WFS.txt create mode 100644 Tile.txt diff --git a/Tile.Image.txt b/Tile.Image.txt new file mode 100644 index 0000000000..7cb45b2b40 --- /dev/null +++ b/Tile.Image.txt @@ -0,0 +1,7 @@ +OpenLayers.Tile.Image + +The image tile is designed to hold images for all types of layers, from WMS to KaMap to WorldWind. + +* Constructor + OpenLayers.Tile.Image({OpenLayers.Layer|layer}, {OpenLayers.Pixel|position}, {OpenLayers.Bounds|bounds}, {String|url}, {OpenLayers.Size|size}) -- Create a new tile, with properties passed. + diff --git a/Tile.WFS.txt b/Tile.WFS.txt new file mode 100644 index 0000000000..442a21583b --- /dev/null +++ b/Tile.WFS.txt @@ -0,0 +1,6 @@ +OpenLayers.Tile.WFS + +The WFS tile allows you to load any number of WFS URLs into a single tile. + +* Constructor + OpenLayers.Tile.WFS({OpenLayers.Layer|layer}, {OpenLayers.Pixel|position}, {OpenLayers.Bounds|bounds}, {String|urls}, {OpenLayers.Size|size}) -- Create a new tile, with properties passed. The major difference between this tile and other tiles is what it does with results: The WFS tile is designed to parse XML responses, and create features for each item in the response. diff --git a/Tile.txt b/Tile.txt new file mode 100644 index 0000000000..a21c45d826 --- /dev/null +++ b/Tile.txt @@ -0,0 +1,10 @@ +OpenLayers.Tile + +This is a class designed to designate a single tile, however +it is explicitly designed to do relatively little. Tiles store information +about themselves -- such as the URL that they are related to, and their +size - but do not add themselves to the layer div automatically, for +example. + +* Constructor + OpenLayers.Tile({OpenLayers.Layer|layer}, {OpenLayers.Pixel|position}, {OpenLayers.Bounds|bounds}, {String|url}, {OpenLayers.Size|size}) -- Create a new tile, with properties passed.