Files
openlayers/js/OpenLayers/Tile.js
crschmidt 0b5e49cd48 Removing an unused function from Tile -- should be in the subclassed WFS tile, but not here.
Cleaning up example.html problems -- commenting out closing comment in <script> tag


git-svn-id: http://svn.openlayers.org/trunk/openlayers@4 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-12 19:59:51 +00:00

50 lines
1.1 KiB
JavaScript

/*
* OpenLayers.Tile 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.
*/
OpenLayers.Tile = Class.create();
OpenLayers.Tile.prototype = {
// str - url of the request
url:null,
// OpenLayers.Bounds
bounds:null,
// OpenLayers.Size
size:null,
// OpenLayers.Point Bottom Left pixel of the tile
position:null,
/**
* @param {OpenLayers.Layer} layer
* @param {OpenLayers.LatLon} coord
*/
initialize: function(bounds,url,size) {
if (arguments.length > 0) {
this.url = url;
this.bounds = bounds;
this.size = size;
}
},
/**
*/
draw:function() {
},
/** remove this tile from the ds
*/
remove:function() {
},
////////////////////
who:function(){return "tiled.js";} // last!
};