Revert dummy parameter change

This commit is contained in:
mike-000
2020-05-04 17:11:16 +01:00
committed by GitHub
parent c0577c3293
commit e0047139e1
+1 -3
View File
@@ -35,9 +35,7 @@ const enabledLayer = new TileLayer({
source: new XYZ({ source: new XYZ({
attributions: attributions, attributions: attributions,
url: url:
'https://api.maptiler.com/tiles/terrain-rgb/{z}/{x}/{y}.png?key=' + 'https://api.maptiler.com/tiles/terrain-rgb/{z}/{x}/{y}.png?key=' + key;
key +
'&map=2', // dummy parameter added to avoid shared cache
maxZoom: 10, maxZoom: 10,
crossOrigin: '', crossOrigin: '',
}), }),