Changeset 3034
- Timestamp:
- 04/09/07 10:08:09 (2 years ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Tile.js (modified) (3 diffs)
- trunk/openlayers/lib/OpenLayers/Tile/Image.js (modified) (3 diffs)
- trunk/openlayers/lib/OpenLayers/Tile/WFS.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Tile.js
r2543 r3034 13 13 * size - but do not add themselves to the layer div automatically, for 14 14 * example. 15 * 16 * TBD 3.0 - remove reference to url in above paragraph 17 * 15 18 */ 16 19 OpenLayers.Tile = OpenLayers.Class.create(); … … 23 26 layer: null, 24 27 25 /** @type String url of the request */ 28 /** TBD 3.0 29 * @deprecated The base tile class does not need an url. This should be 30 * handled in subclasses. Does not belong here. 31 * 32 * @type String url of the request */ 26 33 url:null, 27 34 … … 39 46 drawn: false, 40 47 41 /** 48 /** TBD 3.0 -- remove 'url' from the list of parameters to the constructor. 49 * there is no need for the base tile class to have a url. 50 * 42 51 * @constructor 43 52 * trunk/openlayers/lib/OpenLayers/Tile/Image.js
r2979 r3034 12 12 OpenLayers.Tile.Image.prototype = 13 13 OpenLayers.Class.inherit( OpenLayers.Tile, { 14 15 /** @type String */ 16 url: null, 14 17 15 18 /** @type DOMElement img */ … … 23 26 frame: null, 24 27 25 /** 28 /** TBD 3.0 - reorder the parameters to the init function to put URL 29 * as last, so we can continue to call tile.initialize() 30 * without changing the arguments. 31 * 26 32 * @constructor 27 33 * … … 34 40 initialize: function(layer, position, bounds, url, size) { 35 41 OpenLayers.Tile.prototype.initialize.apply(this, arguments); 42 43 this.url = url; 44 36 45 this.frame = document.createElement('div'); 37 46 this.frame.style.overflow = 'hidden'; trunk/openlayers/lib/OpenLayers/Tile/WFS.js
r3029 r3034 19 19 url: null, 20 20 21 /** 21 /** TBD 3.0 - reorder the parameters to the init function to put URL 22 * as last, so we can continue to call tile.initialize() 23 * without changing the arguments. 24 * 22 25 * @constructor 23 26 *
