Skip to content

Commit

Permalink
chore(examples): change geoportail key.
Browse files Browse the repository at this point in the history
  • Loading branch information
gchoqueux authored and mgermerie committed Sep 6, 2021
1 parent a7d175f commit 36f0f40
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/layers/JSONLayers/Ortho.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "Ortho",
"source": {
"url": "https://wxs.ign.fr/3ht7xcw6f7nciopo16etuqp2/geoportail/wmts",
"url": "https://wxs.ign.fr/decouverte/geoportail/wmts",
"crs": "EPSG:3857",
"networkOptions": {
"crossOrigin": "anonymous"
Expand Down
4 changes: 2 additions & 2 deletions examples/vector_tile_raster_2d.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@

// Defines a VectorTilesSource to load Vector Tiles data from the geoportail
var mvtSource = new itowns.VectorTilesSource({
style: 'https://wxs.ign.fr/static/vectorTiles/styles/PLAN.IGN/standard.json',
style: 'https://wxs.ign.fr/essentiels/static/vectorTiles/styles/PLAN.IGN/standard.json',
// We don't display mountains related data to ease visualisation
filter: (layer) => !layer['source-layer'].includes('oro_'),
filter: (layer) => !layer['source-layer'].includes('oro_') && !layer['source-layer'].includes('parcellaire'),
});

var mvtLayer = new itowns.ColorLayer('MVT', {
Expand Down
4 changes: 2 additions & 2 deletions examples/vector_tile_raster_3d.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@

// Define a VectorTilesSource to load Vector Tiles data from the geoportail
var mvtSource = new itowns.VectorTilesSource({
style: 'https://wxs.ign.fr/static/vectorTiles/styles/PLAN.IGN/standard.json',
style: 'https://wxs.ign.fr/essentiels/static/vectorTiles/styles/PLAN.IGN/standard.json',
// We don't display mountains related data to ease visualisation
filter: (layer) => !layer['source-layer'].includes('oro_'),
filter: (layer) => !layer['source-layer'].includes('oro_') && !layer['source-layer'].includes('parcellaire'),
});

var mvtLayer = new itowns.ColorLayer('MVT', {
Expand Down

0 comments on commit 36f0f40

Please sign in to comment.