Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clampToGround KmlDataSource #6551

Closed
pengbao4386 opened this issue May 2, 2018 · 1 comment
Closed

clampToGround KmlDataSource #6551

pengbao4386 opened this issue May 2, 2018 · 1 comment

Comments

@pengbao4386
Copy link

When the KML data is loaded, the clampToGround is set to true. But the line data can't be clamped to the ground。the clampToGround is not work?
var kmlDataSource = new Cesium.KmlDataSource();
var promise = kmlDataSource.load('../Apps/SampleData/kml/road.kmz',
{
camera: viewer.scene.camera,
canvas: viewer.scene.canvas,
clampToGround:true
});
viewer.dataSources.add(promise);

@ggetz
Copy link
Contributor

ggetz commented May 3, 2018

Hi @pengbao4386

Cesium currently doesn't support polylines clamped to terrain, but we are in the process of working on them, see #2172.

Generally, please ask questions like this over at the Cesium Forum. There are members of the community and developers from the team who answer these kinds of questions there. Additionally, Cesium's a big project, so we use GitHub for feature requests and bug tracking exclusively. Thanks!

@ggetz ggetz closed this as completed May 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants