I would like to recreate bent/ curved country labels spanning the area of the country.
In d3 (or SVG) I can construct a polyline and then use a textpath to have text along it. Example: https://www.w3.org/TR/SVG2/images/text/text-path-startoffset.svg
Is it possible in Cesium to do something similar?
In Leaflet it is implemented like that: http://makinacorpus.github.io/Leaflet.TextPath/
Sorry, but this is not something currently included in Cesium. We have an issue written up to add support for aligning a label with an axis here: https://github.com/AnalyticalGraphicsInc/cesium/issues/4215
Is there any chance I could implement the TextPath manually? Is there any example of a svg pane mapped on the cesium globe which I can access and modify?
Sorry, I don’t think we have any examples that would help for implementing this.
But if you wanted to take a stab at it, you’ll need to modify the Label class: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/Label.js
And you can find information about cloning and building the code base here: https://github.com/AnalyticalGraphicsInc/cesium/tree/master/Documentation/Contributors/BuildGuide
If you get something working, please let me know! We would love the contribution back.