webglearth / webglearth2

[UNMAINTAINED] WebGL Earth 2 - the source code of the project
Apache License 2.0
884 stars 212 forks source link

how to use cesium api #84

Closed hon closed 7 years ago

hon commented 7 years ago

Hi, Is there a way to use cesium api in ‘WE‘ object? And if yes, is that to say everything cesium can do webglearth can do, too? Thanks.

petrsloup commented 7 years ago

You can use WE.getCesiumScene() to get the underlying Cesium object and use it as you wish.

hon commented 7 years ago

It throws "test.html:9 Uncaught TypeError: WE.getCesiumScene is not a function".

hon commented 7 years ago

getCesiumScene is instanance method not static.