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.

Polyline spanning half the ellipsoid crashes

See original GitHub issue

Brought up on the forum.

var viewer = new Cesium.Viewer('cesiumContainer');

var purpleArrow = viewer.entities.add({
    polyline : {
        positions : Cesium.Cartesian3.fromDegreesArrayHeights([0, 0, 0,
                                                               180, 0, 0]),
        width : 10,
        followSurface : true
    }
});

viewer.zoomTo(viewer.entities);

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
hpinkoscommented, Oct 31, 2018

@OmarShehata they don’t have to create 2 lines, but they have to define more positions in the polyline.

Like this:

viewer.entities.add({
    polyline : {
        positions : Cesium.Cartesian3.fromDegreesArrayHeights([0, 0, 0,
                                                               170, 0, 0,
                                                               -100, 0, 0]),
        width : 10,
        followSurface : true
    }
});
0reactions
cesium-conciergecommented, Sep 19, 2019

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

https://groups.google.com/d/msg/cesium-dev/Y-NPOSmP4UE/LUSYX5WgBgAJ

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

The issue at https://github.com/AnalyticalGraphicsInc/cesium/issues/7214 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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Civil 3d Crash when snaping 3d polyline - Autodesk Forums
Solved: Hey guys i need some help. Sometimes (not every time) i get random crashes when snapping 3d polylines to other 3d polylines....
Read more >
Polylines is crashing on emulator - Stack Overflow
Your question title is very bad and the issue you're having has to do with google map Polyline and I can only guess...
Read more >
arcgis xy to line
A line graphic is created using a polyline and a line symbol. ... is the shortest path between two points on the Earth,...
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