- add LayerControl

- add layer prperty for map
- npm wanted updates
This commit is contained in:
Arno Kaimbacher 2020-12-04 17:12:22 +01:00
parent ea09f80f82
commit 572e6f41b5
8 changed files with 772 additions and 599 deletions

View file

@ -41,7 +41,8 @@ class TinLayer extends Layer {
setVisible(visible) {
this.visible = visible;
// this.objectGroup.visible = visible;
this.mainMesh.visible = visible;
this.emit('visibility-change');
}
async onAdd(map) {