Set projection on EPT geometry to display the map.

This commit is contained in:
Connor Manning 2018-06-19 16:07:19 -05:00
parent 4d4714584b
commit fc1f99394f
2 changed files with 2 additions and 4 deletions

View File

@ -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;

View File

@ -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;