We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In Cesium 1.29, the using raiseToTop makes the polyline render on top of the billboard and label. However, in Cesium 1.30 this is no longer the case.
raiseToTop
Reported by @erezy
https://groups.google.com/forum/#!topic/cesium-dev/ywyFR5GSi_c
var viewer = new Cesium.Viewer('cesiumContainer',{ sceneMode: Cesium.SceneMode.SCENE2D }); var polylines = new Cesium.PolylineCollection(); polylines.add({ positions : Cesium.Cartesian3.fromDegreesArray([ -75.10, 39.57, -77.02, 38.53, -80.50, 35.14, -80.12, 25.46]), width : 2, material : new Cesium.Material({ fabric : { type : 'Color', uniforms : { color : new Cesium.Color(1.0, 1.0, 0.0, 1.0) } } }) }); var billboards = new Cesium.BillboardCollection(); billboards.add({ position : Cesium.Cartesian3.fromDegrees(-77.02, 38.53), image : '../images/Cesium_Logo_overlay.png' }); var labels = new Cesium.LabelCollection(); labels.add({ position : Cesium.Cartesian3.fromDegrees(-80.50, 35.14), text : 'A label', fillColor: Cesium.Color.BLUE }); var primitives = viewer.scene.primitives; primitives.add(labels); primitives.add(billboards); // Add collection primitives.add(polylines); primitives.raiseToTop(polylines);
The text was updated successfully, but these errors were encountered:
Hi @hpinkos , do you have news on this issue? are you still working on it?
Sorry, something went wrong.
@erezy no sorry, we haven't had a chance to look into this. I'm guessing the regression came with this PR: #4886
No branches or pull requests
In Cesium 1.29, the using
raiseToTop
makes the polyline render on top of the billboard and label. However, in Cesium 1.30 this is no longer the case.Reported by @erezy
https://groups.google.com/forum/#!topic/cesium-dev/ywyFR5GSi_c
The text was updated successfully, but these errors were encountered: