From 1a12d904556bccd142f971bc5756676a7aa6a372 Mon Sep 17 00:00:00 2001 From: euzuro Date: Sat, 19 Aug 2006 02:07:26 +0000 Subject: [PATCH] allow whirlwind to have options. otherwise no way to set tilesize git-svn-id: http://svn.openlayers.org/branches/openlayers/2.0@1301 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/WorldWind.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/OpenLayers/Layer/WorldWind.js b/lib/OpenLayers/Layer/WorldWind.js index acf786a94e..76a19f179c 100644 --- a/lib/OpenLayers/Layer/WorldWind.js +++ b/lib/OpenLayers/Layer/WorldWind.js @@ -25,11 +25,11 @@ OpenLayers.Layer.WorldWind.prototype = zoomLevels: null, - initialize: function(name, url, lzd, zoomLevels, params) { + initialize: function(name, url, lzd, zoomLevels, params, options) { this.lzd = lzd; this.zoomLevels = zoomLevels; var newArguments = new Array(); - newArguments.push(name, url, params); + newArguments.push(name, url, params, options); OpenLayers.Layer.Grid.prototype.initialize.apply(this, newArguments); this.params = (params ? params : {}); if (arguments.length > 0 && params) {