From 7a46b3a61a8f3a48c8cd769a2614b54d95e18764 Mon Sep 17 00:00:00 2001 From: mike-000 <49240900+mike-000@users.noreply.github.com> Date: Fri, 1 May 2020 12:06:38 +0100 Subject: [PATCH] add dummy parameter to url to avoid shared cache --- examples/disable-image-smoothing.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/disable-image-smoothing.js b/examples/disable-image-smoothing.js index 0a6b23923a..fbce6af1a6 100644 --- a/examples/disable-image-smoothing.js +++ b/examples/disable-image-smoothing.js @@ -35,7 +35,8 @@ const enabledLayer = new TileLayer({ source: new XYZ({ attributions: attributions, url: - 'https://api.maptiler.com/tiles/terrain-rgb/{z}/{x}/{y}.png?key=' + key, + 'https://api.maptiler.com/tiles/terrain-rgb/{z}/{x}/{y}.png?key=' + key + + '&map=2', // dummy parameter added to avoid shared cache maxZoom: 10, crossOrigin: '', }),