Default CORS request mode for tiles used in WebGL rendering

This commit is contained in:
Tim Schaub
2022-01-11 12:39:48 -07:00
parent 1f761d943f
commit e71a8b65e1
6 changed files with 25 additions and 5 deletions

View File

@@ -50,7 +50,6 @@ const shadedRelief = new TileLayer({
opacity: 0.3,
source: new XYZ({
url: 'https://{a-d}.tiles.mapbox.com/v3/aj.sf-dem/{z}/{x}/{y}.png',
crossOrigin: 'anonymous',
}),
style: {
variables: variables,