From 148ef0b756a97d09390ad8ab6dc87f3e5354d077 Mon Sep 17 00:00:00 2001 From: gchoqueux Date: Wed, 30 Sep 2020 16:45:25 +0200 Subject: [PATCH] fix(doc): update deprecated 'projection' parameter/property to 'crs'. --- docs/tutorials/Display-a-geometry-layer.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/tutorials/Display-a-geometry-layer.md b/docs/tutorials/Display-a-geometry-layer.md index 6496341173..d49a0bf4c7 100644 --- a/docs/tutorials/Display-a-geometry-layer.md +++ b/docs/tutorials/Display-a-geometry-layer.md @@ -97,7 +97,7 @@ instantiate the source. var geometrySource = new itowns.WFSSource({ url: 'http://wxs.ign.fr/3ht7xcw6f7nciopo16etuqp2/geoportail/wfs?', typeName: 'BDTOPO_BDD_WLD_WGS84G:bati_indifferencie', - projection: 'EPSG:4326', + crs: 'EPSG:4326', }); var geometryLayer = new itowns.GeometryLayer('Buildings', new itowns.THREE.Group(), { @@ -142,7 +142,7 @@ function setAltitude(properties) { var geometrySource = new itowns.WFSSource({ url: 'http://wxs.ign.fr/3ht7xcw6f7nciopo16etuqp2/geoportail/wfs?', typeName: 'BDTOPO_BDD_WLD_WGS84G:bati_indifferencie', - projection: 'EPSG:4326', + crs: 'EPSG:4326', }); var geometryLayer = new itowns.GeometryLayer('Buildings', new itowns.THREE.Group(), { @@ -213,7 +213,7 @@ function setExtrusion(properties) { var geometrySource = new itowns.WFSSource({ url: 'http://wxs.ign.fr/3ht7xcw6f7nciopo16etuqp2/geoportail/wfs?', typeName: 'BDTOPO_BDD_WLD_WGS84G:bati_indifferencie', - projection: 'EPSG:4326', + crs: 'EPSG:4326', }); var geometryLayer = new itowns.GeometryLayer('Buildings', new itowns.THREE.Group(), { @@ -250,7 +250,7 @@ function setColor(properties) { var geometrySource = new itowns.WFSSource({ url: 'http://wxs.ign.fr/3ht7xcw6f7nciopo16etuqp2/geoportail/wfs?', typeName: 'BDTOPO_BDD_WLD_WGS84G:bati_indifferencie', - projection: 'EPSG:4326', + crs: 'EPSG:4326', }); var geometryLayer = new itowns.GeometryLayer('Buildings', new itowns.THREE.Group(), { @@ -365,7 +365,7 @@ layer on a globe, and change some things on this layer. Here is the final code: var geometrySource = new itowns.WFSSource({ url: 'http://wxs.ign.fr/3ht7xcw6f7nciopo16etuqp2/geoportail/wfs?', typeName: 'BDTOPO_BDD_WLD_WGS84G:bati_indifferencie', - projection: 'EPSG:4326', + crs: 'EPSG:4326', }); var geometryLayer = new itowns.GeometryLayer('Buildings', new itowns.THREE.Group(), {