Don't overwrite params, and use params in Layer.ArcGISCache

This commit is contained in:
ahocevar
2012-02-29 16:48:59 +01:00
parent 85b997fa0e
commit fa30c1da5c
4 changed files with 16 additions and 8 deletions

View File

@@ -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)
);
},
/**