itowns 2.42.1-next.7 → 2.42.1-next.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -103,7 +103,7 @@
103
103
 
104
104
  // Define the source of the building data : those are vector tiled data from the geoportail.
105
105
  const buildingsSource = new itowns.VectorTilesSource({
106
- style: "https://wxs.ign.fr/essentiels/static/vectorTiles/styles/PLAN.IGN/standard.json",
106
+ style: "https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/standard.json",
107
107
  // We only want to display buildings related data.
108
108
  filter: (layer) => {
109
109
  return (
@@ -75,7 +75,7 @@
75
75
 
76
76
  // Define the source of the ColorLayer data : a vector tiled map from the geoportail.
77
77
  const mapSource = new itowns.VectorTilesSource({
78
- style: 'https://wxs.ign.fr/essentiels/static/vectorTiles/styles/PLAN.IGN/standard.json',
78
+ style: "https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/standard.json",
79
79
  // We don't display mountains and parcels related data to ease visualisation. Also, we don't display
80
80
  // buildings related data as it will be displayed in another Layer.
81
81
  filter: (layer) => {
@@ -110,7 +110,7 @@
110
110
 
111
111
  // Define the source of the building data : those are vector tiled data from the geoportail.
112
112
  const buildingsSource = new itowns.VectorTilesSource({
113
- style: 'https://wxs.ign.fr/essentiels/static/vectorTiles/styles/PLAN.IGN/standard.json',
113
+ style: "https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/standard.json",
114
114
  // We only want to display buildings related data.
115
115
  filter: (layer) => {
116
116
  return layer['source-layer'].includes('bati_surf')
@@ -48,7 +48,7 @@
48
48
 
49
49
  // Defines a VectorTilesSource to load Vector Tiles data from the geoportail
50
50
  var mvtSource = new itowns.VectorTilesSource({
51
- style: 'https://wxs.ign.fr/essentiels/static/vectorTiles/styles/PLAN.IGN/standard.json',
51
+ style: "https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/standard.json",
52
52
  // We don't display mountains related data to ease visualisation
53
53
  filter: (layer) => !layer['source-layer'].includes('oro_') && !layer['source-layer'].includes('parcellaire'),
54
54
  });
@@ -49,7 +49,7 @@
49
49
 
50
50
  // Define a VectorTilesSource to load Vector Tiles data from the geoportail
51
51
  var mvtSource = new itowns.VectorTilesSource({
52
- style: 'https://wxs.ign.fr/essentiels/static/vectorTiles/styles/PLAN.IGN/standard.json',
52
+ style: "https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/standard.json",
53
53
  // We don't display mountains related data to ease visualisation
54
54
  filter: (layer) => !layer['source-layer'].includes('oro_') && !layer['source-layer'].includes('parcellaire'),
55
55
  });
@@ -85,7 +85,7 @@
85
85
  view,
86
86
  new itowns.ColorLayer('minimap', {
87
87
  source: new itowns.VectorTilesSource({
88
- style: 'https://wxs.ign.fr/essentiels/static/vectorTiles/styles/PLAN.IGN/gris.json',
88
+ style: "https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/standard.json",
89
89
  // We don't display mountains and plot related data to ease visualisation
90
90
  filter: (layer) => !layer['source-layer'].includes('oro_')
91
91
  && !layer['source-layer'].includes('parcellaire'),
@@ -84,7 +84,7 @@
84
84
  view,
85
85
  new itowns.ColorLayer('minimap', {
86
86
  source: new itowns.VectorTilesSource({
87
- style: 'https://wxs.ign.fr/essentiels/static/vectorTiles/styles/PLAN.IGN/gris.json',
87
+ style: "https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/standard.json",
88
88
  // We don't display mountains and plot related data to ease visualisation
89
89
  filter: (layer) => !layer['source-layer'].includes('oro_')
90
90
  && !layer['source-layer'].includes('parcellaire'),
@@ -88,7 +88,7 @@
88
88
  // Create a ColorLayer that shall be displayed on the minimap.
89
89
  const minimapColorLayer = new itowns.ColorLayer('minimap', {
90
90
  source: new itowns.VectorTilesSource({
91
- style: 'https://wxs.ign.fr/essentiels/static/vectorTiles/styles/PLAN.IGN/standard.json',
91
+ style: "https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/standard.json",
92
92
  // We don't display mountains and plot related data to ease visualisation
93
93
  filter: (layer) => !layer['source-layer'].includes('oro_')
94
94
  && !layer['source-layer'].includes('parcellaire'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itowns",
3
- "version": "2.42.1-next.7",
3
+ "version": "2.42.1-next.8",
4
4
  "description": "A JS/WebGL framework for 3D geospatial data visualization",
5
5
  "main": "lib/Main.js",
6
6
  "exports": {