Hi All,
I have created few shapes on 3D globe with cesium.
I want to remove those shapes and reset the 3D globe to its original position.
Which function should i call to achieve this.
Thanks in advance.
Tejas
Hi All,
I have created few shapes on 3D globe with cesium.
I want to remove those shapes and reset the 3D globe to its original position.
Which function should i call to achieve this.
Thanks in advance.
Tejas
I’m not sure if there is a shortcut for “reset” the globe. But I think a possible solution is:
viewer.entities.removeAll();
viewer.scene.camera.setView({
position : Cesium.Cartesian3.fromDegrees(lon, lat, height),
heading : 0.0,
pitch : -Cesium.Math.PI_OVER_TWO,
roll : 0.0
})
Hope this works.
Hi Marco,
Thanks for the quick response I will apply and update you.
Tejas
Hi Narco,
Thanks this worked well now i have another technical glitch where i need help.
I want to load heatmap and then once i zoom in it should convert heatmap in to some other map.
Is it possible some how?
Please help.
Thanks,
Tejas