This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
Note: | |
This is useing rollup the svelte pluing and buble plugin | |
If you do not want to use this, just adjust the command being created in `getRollupCommand` to | |
just make a commond to use the svelete-cli | |
This is also asuming that all components are in a folder structure like this: | |
- src | |
- components | |
- example_compent_name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var viewer = new Cesium.Viewer('cesiumContainer'); | |
var scene = viewer.scene; | |
var context = scene.context; | |
var readColor = false; | |
scene.postRender.addEventListener(function() { | |
if (readColor) { | |
readColor = false; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
@import url(../templates/bucket.css); | |
.point { | |
border: 1px solid red; | |
width: 5px; | |
height: 5px; | |
position: absolute; | |
top: 197px; | |
left: 197px; | |
} |