Combining TextSymbol/LabelNode into FeatureNode

classic Classic list List threaded Threaded
1 message Options
krzysief krzysief
Reply | Threaded
Open this post in threaded view
|

Combining TextSymbol/LabelNode into FeatureNode

Hi, in this thread: http://forum.osgearth.org/OSGEarth-Symbology-Classes-td5699108.html#a6862257

i read that: "The FeatureNode, on the other hand, renders a whole feature and honors all style information (including labels)."

And what i do in my code is drawing some geometry and rendering this as a FeatureNode and i want to also compose inside text label, i tried creating Feature's style as TextSymbol but i get runtime errors while building FeatureNode, what is the solution?