Skip to content

Commit ca67b7a

Browse files
committed
Website updates
1 parent 84acd55 commit ca67b7a

File tree

4 files changed

+4
-15
lines changed

4 files changed

+4
-15
lines changed

dist/en/main/examples/offscreen-canvas.html

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -417,19 +417,8 @@ <h5 class="source-heading">worker.js</h5>
417417
const context &#x3D; canvas.getContext(&#x27;2d&#x27;);
418418

419419
const sources &#x3D; {
420-
landcover: new VectorTileSource({
421-
maxZoom: 9,
422-
format: new MVT(),
423-
url: &#x27;https://api.maptiler.com/tiles/landcover/{z}/{x}/{y}.pbf?key&#x3D;&#x27; + key,
424-
}),
425-
contours: new VectorTileSource({
426-
minZoom: 9,
427-
maxZoom: 14,
428-
format: new MVT(),
429-
url: &#x27;https://api.maptiler.com/tiles/contours/{z}/{x}/{y}.pbf?key&#x3D;&#x27; + key,
430-
}),
431420
maptiler_planet: new VectorTileSource({
432-
format: new MVT(),
421+
format: new MVT({layerName: &#x27;mvt:layer&#x27;}),
433422
maxZoom: 14,
434423
url: &#x27;https://api.maptiler.com/tiles/v3/{z}/{x}/{y}.pbf?key&#x3D;&#x27; + key,
435424
}),

dist/en/main/examples/offscreen-canvas.worker.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/examples/offscreen-canvas.worker.worker.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/examples/offscreen-canvas.worker.worker.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)