Skip to content

Commit

Permalink
fix(doc): update deprecated 'projection' parameter/property to 'crs'.
Browse files Browse the repository at this point in the history
  • Loading branch information
gchoqueux committed Sep 30, 2020
1 parent d204f65 commit 148ef0b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/tutorials/Display-a-geometry-layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -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(), {
Expand Down Expand Up @@ -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(), {
Expand Down Expand Up @@ -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(), {
Expand Down Expand Up @@ -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(), {
Expand Down Expand Up @@ -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(), {
Expand Down

0 comments on commit 148ef0b

Please sign in to comment.