(visibility)
| 76 | } |
| 77 | |
| 78 | setVisibility(visibility) { |
| 79 | if (this.animateStatus) { |
| 80 | this.cancelAnimationFrame(); |
| 81 | } |
| 82 | visibility ? this.l7layer.show() : this.l7layer.hide(); |
| 83 | this.map.style.setLayoutProperty(this.id, 'visibility', visibility ? 'visible' : 'none'); |
| 84 | } |
| 85 | |
| 86 | addSceneLayer(scene) { |
| 87 | this.scene = scene; |
no test coverage detected