Change Grid to not setTileSize if the tileSize passed is null. Also change WFS to not call setTileSize if it's null.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@816 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-06-28 00:33:28 +00:00
parent 0763e08c12
commit 38324e7295
2 changed files with 4 additions and 2 deletions

View File

@@ -61,7 +61,8 @@ OpenLayers.Layer.Grid.prototype = Object.extend( new OpenLayers.Layer(), {
* @deprecated User should just set the 'tileSize' via options
*/
setTileSize: function (size) {
this.tileSize = size.copyOf();
if (size)
this.tileSize = size.copyOf();
},
/** This function is called whenever the map is moved. All the moving