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
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user