-
Notifications
You must be signed in to change notification settings - Fork 327
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
Text from a KML/vector layer is not correctly rendered in 3D mode #345
Comments
Do you have a screenshot? |
Text style is handled in For having texts above the circles, there is the https://cesiumjs.org/Cesium/Build/Documentation/Label.html?classFilter=label#eyeOffset property in Cesium. |
Regarding the size of the text, there is certainly some adjustement we should do. |
Indeed, the alignment issue seems to be the one reported in CesiumGS/cesium#3166. On the order, as per the documentation, eyeOffset seems to move the billboard in the y axis, but does not seem to change the z order. As a workaround I was thinking more along the lines of defining the style as two separate styles for the image and the text, hoping that one will be drawn after the other, though I am not sure if that is supported by style functions. |
The documentation example is: |
As suggested, adding |
I don't see an easy and general way to handle this. So I would skip the PR for the moment. |
Ok, let me know if you have any other ideas or you want me to test anything. |
Text defined in the style of items in a vector layer is not correctly rendered when in 3D mode.
The text was updated successfully, but these errors were encountered: