- TinLayer.js: add scaleZ methode for z-exaggeration
- new RangeSlider.js and RangeSlider.css - new SliderControl.js and SliderControl.css - small changes in EventEmitter.js - change GetiefExplore.code-workspace for debugging - document formating for page.css
This commit is contained in:
parent
8b57f1dcb8
commit
ca1a983665
9 changed files with 1318 additions and 468 deletions
|
@ -41,10 +41,15 @@ class TinLayer extends Layer {
|
|||
|
||||
setVisible(visible) {
|
||||
this.visible = visible;
|
||||
this.mainMesh.visible = visible;
|
||||
this.mainMesh.visible = visible;
|
||||
this.emit('visibility-change');
|
||||
}
|
||||
|
||||
scaleZ(z) {
|
||||
this.mainMesh.scale.z = z;
|
||||
//this.objectGroup.scale.z = z;
|
||||
}
|
||||
|
||||
async onAdd(map) {
|
||||
await this.build(this.getScene());
|
||||
map.update();
|
||||
|
@ -95,14 +100,14 @@ class TinLayer extends Layer {
|
|||
|
||||
async points(geomId) {
|
||||
const url = POINTURL + geomId;
|
||||
const buffer = await this.request(url);
|
||||
return this.unpackVertices(buffer);
|
||||
const buffer = await this.request(url);
|
||||
return this.unpackVertices(buffer);
|
||||
}
|
||||
|
||||
async edges(geomId) {
|
||||
const url = EDGEURL + geomId;
|
||||
const buffer = await this.request(url);
|
||||
return this.unpackEdges(buffer);
|
||||
const buffer = await this.request(url);
|
||||
return this.unpackEdges(buffer);
|
||||
}
|
||||
|
||||
async request(url) {
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue