created WFS tile class based on Image tile
git-svn-id: http://svn.openlayers.org/trunk/openlayers@166 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
42
lib/OpenLayers/Tile/WFS.js
Normal file
42
lib/OpenLayers/Tile/WFS.js
Normal file
@@ -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"
|
||||
}
|
||||
);
|
||||
Reference in New Issue
Block a user