npm i --save @geoblocks/cesium-compass-bar
<cesium-compass-bar .scene="${viewer.scene}"></cesium-compass-bar>
Name | Type | Default | Description |
---|---|---|---|
scene |
Cesium.Scene |
A Cesium Scene instance |
Name | Default | Description |
---|---|---|
--cesium-compass-bar-tick-color |
#000 |
Ticks and font color |
--cesium-compass-bar-intercardinal-width |
100px |
Width in pixels between intercardinal divs |
Part name | Description |
---|---|
label |
The compass label |
label major |
The compass major label (N, S, E, W) |
label minor |
The compass minor label (NE, SE, SW, NW) |
tick |
The compass tick div |
center-tick |
The compass center tick div |