Skip to content

Commit

Permalink
fix(GlobeLayer, PlanarLayer): fix too much tiles subdivision due to w…
Browse files Browse the repository at this point in the history
…rong param name
  • Loading branch information
VeinKowal authored and gchoqueux committed Jun 27, 2023
1 parent 2f81334 commit c726f25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Core/Prefab/Globe/GlobeLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class GlobeLayer extends TiledGeometryLayer {
this.options.defaultPickingRadius = 5;
this.minSubdivisionLevel = this.minSubdivisionLevel == undefined ? 2 : this.minSubdivisionLevel;
this.maxSubdivisionLevel = this.maxSubdivisionLevel == undefined ? 19 : this.maxSubdivisionLevel;
this.maxDeltaElevation = this.maxDeltaElevation || 4.0;
this.maxDeltaElevationLevel = this.maxDeltaElevationLevel || 4.0;

this.extent = this.schemeTile[0].clone();

Expand Down
2 changes: 1 addition & 1 deletion src/Core/Prefab/Planar/PlanarLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class PlanarLayer extends TiledGeometryLayer {
this.extent = extent;
this.minSubdivisionLevel = this.minSubdivisionLevel == undefined ? 0 : this.minSubdivisionLevel;
this.maxSubdivisionLevel = this.maxSubdivisionLevel == undefined ? 5 : this.maxSubdivisionLevel;
this.maxDeltaElevation = this.maxDeltaElevation || 4.0;
this.maxDeltaElevationLevel = this.maxDeltaElevationLevel || 4.0;
}
}

Expand Down

0 comments on commit c726f25

Please sign in to comment.