bubble up common functionality
git-svn-id: http://svn.openlayers.org/trunk/openlayers@165 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -65,7 +65,14 @@ OpenLayers.Layer.Grid.prototype = Object.extend( new OpenLayers.Layer(), {
|
||||
bottomRightTile.bounds.right,
|
||||
topLeftTile.bounds.top);
|
||||
},
|
||||
|
||||
/**
|
||||
*/
|
||||
_initTiles:function() {
|
||||
|
||||
//first of all, clear out the main div
|
||||
this.div.innerHTML = "";
|
||||
|
||||
var viewSize = this.map.getSize();
|
||||
var bounds = this.map.getExtent();
|
||||
var extent = this.map.getFullExtent();
|
||||
|
||||
@@ -60,13 +60,6 @@ OpenLayers.Layer.WFS.prototype =
|
||||
return tile;
|
||||
},
|
||||
|
||||
/** clear out the layer's main div
|
||||
*/
|
||||
_initTiles: function() {
|
||||
this.div.innerHTML = "";
|
||||
OpenLayers.Layer.Grid.prototype._initTiles.apply(this, arguments);
|
||||
},
|
||||
|
||||
/** @final @type String */
|
||||
CLASS_NAME: "OpenLayers.Layer.WFS"
|
||||
});
|
||||
|
||||
@@ -65,13 +65,6 @@ OpenLayers.Layer.WMS.prototype =
|
||||
return tile;
|
||||
},
|
||||
|
||||
/** clear out the layer's main div
|
||||
*/
|
||||
_initTiles: function () {
|
||||
this.div.innerHTML="";
|
||||
OpenLayers.Layer.Grid.prototype._initTiles.apply(this, arguments);
|
||||
},
|
||||
|
||||
/** @final @type String */
|
||||
CLASS_NAME: "OpenLayers.Layer.WMS"
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user