Use https for mapbox tiles

This commit is contained in:
Maximilian Krög
2020-07-29 21:14:49 +02:00
parent 6db0e1d2dc
commit 8645dbc333
5 changed files with 5 additions and 5 deletions

View File

@@ -91,7 +91,7 @@ const vectorLayer = new VectorLayer({
const rasterLayer = new TileLayer({
source: new TileJSON({
url: 'https://a.tiles.mapbox.com/v3/aj.1x1-degrees.json',
url: 'https://a.tiles.mapbox.com/v3/aj.1x1-degrees.json?secure=1',
crossOrigin: '',
}),
});