@geoblocks/cesium-compass-bar

0.0.4 • Public • Published

compass bar widget for CesiumJS

Installation

npm i --save @geoblocks/cesium-compass-bar

Demo

Demo

Usage

 <cesium-compass-bar .scene="${viewer.scene}"></cesium-compass-bar>

API

Properties/Attributes

Name Type Default Description
scene Cesium.Scene A Cesium Scene instance

CSS Custom Properties

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

CSS Shadow Parts

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.40latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i @geoblocks/cesium-compass-bar

Weekly Downloads

0

Version

0.0.4

License

BSD-3-Clause

Unpacked Size

7.32 kB

Total Files

4

Last publish

Collaborators

  • vladyslavtk
  • gberaudo
  • sbrunner
  • fredj
  • bgerber