Create Label (Icon + text)

classic Classic list List threaded Threaded
2 messages Options
marcoma9023 marcoma9023
Reply | Threaded
Open this post in threaded view
|

Create Label (Icon + text)

Hi,

I need to create a label that is made up of an icon and text.

I tried to use the TrackNode, which is very functional, but the inability to align the icon is not acceptable to me.

I tried with LabelNode, but I'm not able to insert the icon in that label.

Is there a workable OSGEarth solution?
Can someone help me?

THanks
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: Create Label (Icon + text)

There is no API to do it. But, if you look at TrackNode.cpp::compile, you should be able to integrate something that rotates the image geometry. Feel free to submit a PR on GitHub! Thanks.
Glenn Waldron / Pelican Mapping