bubble up common functionality

git-svn-id: http://svn.openlayers.org/trunk/openlayers@165 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-05-18 18:58:36 +00:00
parent ca2c0dba41
commit b7d58fe9fe
3 changed files with 7 additions and 14 deletions

View File

@@ -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();