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

KML lines can only be clamped when tessellate is set to true #8760

Open
OmarShehata opened this issue Apr 16, 2020 · 0 comments
Open

KML lines can only be clamped when tessellate is set to true #8760

OmarShehata opened this issue Apr 16, 2020 · 0 comments

Comments

@OmarShehata
Copy link
Contributor

In CesiumJS, loading in a KML that has lines and setting clampToGround: true will not clamp the line unless you have <tesselate>1</tesselate>. We added a warning about this here: #8428. But opening this issue because this behavior does not match what you see when loading the KML in Google Earth, and wanted to document that we should consider changing this behavior in the future.

You can test with an inline KML in this Sandcastle. Set <tessellate>0</tessellate> and the line will no longer clamp.

Here are two KML files you can also test with. Both of these are clamped in Earth, only one is clamped in CesiumJS (the one that has tesselate to true).

This originally came up here #8404 and it took me a while to figure out that tesselating was a requirement. It just came up again on the forum here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant