From 27d2ac30d3220e3bab3a2c5cfc9e838b6efee96c Mon Sep 17 00:00:00 2001 From: euzuro Date: Thu, 18 May 2006 19:12:10 +0000 Subject: [PATCH] created WFS tile class based on Image tile git-svn-id: http://svn.openlayers.org/trunk/openlayers@166 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Tile/WFS.js | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 lib/OpenLayers/Tile/WFS.js diff --git a/lib/OpenLayers/Tile/WFS.js b/lib/OpenLayers/Tile/WFS.js new file mode 100644 index 0000000000..65c13c4357 --- /dev/null +++ b/lib/OpenLayers/Tile/WFS.js @@ -0,0 +1,42 @@ +/** +* @class +*/ +OpenLayers.Tile.WFS = Class.create(); +OpenLayers.Tile.WFS.prototype = + Object.extend( new OpenLayers.Tile(), { + + /** + * @constructor + * + * @param {OpenLayers.Bounds} bounds + * @param {String} url + * @param {OpenLayers.Size} size + */ + initialize: function(bounds, url, size) { + OpenLayers.Tile.prototype.initialize.apply(this, arguments); + }, + + /** + */ + draw:function() { + OpenLayers.Tile.prototype.draw.apply(this, arguments); + }, + + /** + * @param OpenLayers.Pixel + */ + setPosition:function(pixel) { + this.position = pixel; + }, + + /** + * @type OpenLayers.Pixel + */ + getPosition: function() { + return this.position; + }, + + /** @final @type String */ + CLASS_NAME: "OpenLayers.Tile.WFS" + } +);