Set projection on EPT geometry to display the map.
This commit is contained in:
parent
4d4714584b
commit
fc1f99394f
@ -11441,7 +11441,6 @@ Potree.PointCloudEptGeometry = class {
|
||||
constructor(url, info) {
|
||||
let version = info.version;
|
||||
let schema = info.schema;
|
||||
let srs = info.srs;
|
||||
let bounds = info.bounds;
|
||||
let boundsConforming = info.boundsConforming;
|
||||
|
||||
@ -11478,7 +11477,7 @@ Potree.PointCloudEptGeometry = class {
|
||||
this.tightBoundingSphere = this.tightBoundingBox.getBoundingSphere();
|
||||
this.version = new Potree.Version('1.6');
|
||||
|
||||
this.projection = info.projection;
|
||||
this.projection = info.srs;
|
||||
this.pointAttributes = 'LAZ';
|
||||
this.spacing =
|
||||
(this.boundingBox.max.x - this.boundingBox.min.x) / this.ticks;
|
||||
|
||||
@ -14,7 +14,6 @@ Potree.PointCloudEptGeometry = class {
|
||||
constructor(url, info) {
|
||||
let version = info.version;
|
||||
let schema = info.schema;
|
||||
let srs = info.srs;
|
||||
let bounds = info.bounds;
|
||||
let boundsConforming = info.boundsConforming;
|
||||
|
||||
@ -51,7 +50,7 @@ Potree.PointCloudEptGeometry = class {
|
||||
this.tightBoundingSphere = this.tightBoundingBox.getBoundingSphere();
|
||||
this.version = new Potree.Version('1.6');
|
||||
|
||||
this.projection = info.projection;
|
||||
this.projection = info.srs;
|
||||
this.pointAttributes = 'LAZ';
|
||||
this.spacing =
|
||||
(this.boundingBox.max.x - this.boundingBox.min.x) / this.ticks;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user