question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

KML clampToGround disappears on mobile

See original GitHub issue

Here’s a Sandcastle that loads a KML file clamped to ground.

On desktop, everything looks good. On mobile (so far tested on Android Huawei Mate 10 Lite and Huawei P20, as well as an iPad) no KML appears. If clampToGround is set to false it appears.

Not sure where to really begin debugging this. The console shows no errors. Original forum thread

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:27 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
damenkingcommented, Jun 16, 2019

Hello, I am having what I believe is the same issue on the latest version (1.58) while viewing on mobile. Was wondering if there was any update or workaround to this issue. Thanks!

0reactions
cesium-conciergecommented, Aug 6, 2020

Congratulations on closing the issue! I found these Cesium forum links in the comments above:

https://groups.google.com/d/msg/cesium-dev/oHWKqmeWx9o/dpmDl-BIBAAJ

If this issue affects any of these threads, please post a comment like the following:

The issue at https://github.com/CesiumGS/cesium/issues/7273 has just been closed and may resolve your issue. Look for the change in the next stable release of Cesium or get it now in the master branch on GitHub https://github.com/AnalyticalGraphicsInc/cesium.

Omar’s Edit: thread in the new forum: https://community.cesium.com/t/clamping-kml-to-ground-on-android-doesnt-work-the-same-as-desktop/7695/6

Read more comments on GitHub >

github_iconTop Results From Across the Web

Portions of paths disappear when zoomed in
The problem is reproducible in Google Earth but not in Google Maps except in "earth" display mode. You can see what I am...
Read more >
KML Reference | Keyhole Markup Language
clampToGround - (default) Indicates to ignore the altitude specification and drape the overlay over the terrain. absolute - Sets the altitude of the...
Read more >
KML Placemark LineString Altitude Issue - WorldWind Forum
I had tried "clampToGround", but portions of the lines disappear underground at different view angles and altitudes.
Read more >
simplekml Documentation
The python package simplekml was created to generate kml (or kmz). ... Phone number used by Google Maps mobile, accepts string.
Read more >
KML 2.1 Reference – An OGC Best Practice
KML is a file format used to display geographic data in an Earth browser, such as Google. Earth, Google Maps, and Google Maps...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found