Don't overwrite params, and use params in Layer.ArcGISCache
This commit is contained in:
@@ -452,7 +452,9 @@ OpenLayers.Layer.ArcGISCache = OpenLayers.Class(OpenLayers.Layer.XYZ, {
|
||||
// Write the values into our formatted url
|
||||
url = OpenLayers.String.format(url, {'x': x, 'y': y, 'z': z});
|
||||
|
||||
return url;
|
||||
return OpenLayers.Util.urlAppend(
|
||||
url, OpenLayers.Util.getParameterString(this.params)
|
||||
);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user