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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user