compass view cube for CesiumJS
Demo
Installation
npm i --save @geoblocks/cesium-view-cube
Usage
<cesium-view-cube .scene="${viewer.scene}"></cesium-view-cube>
API
Properties/Attributes
| Name | Type | Description |
|---|---|---|
scene |
Cesium.Scene |
A Cesium Scene instance |
CSS Custom Properties
| Name | Default | Description |
|---|---|---|
--cesium-view-cube-stroke-color |
rgba(0, 0, 0, 0.6) |
Stroke color |
--cesium-view-cube-fill-color |
rgb(224, 225, 226) |
Fill color |