HTML link in PlaceNode text

classic Classic list List threaded Threaded
7 messages Options
JeanMarre JeanMarre
Reply | Threaded
Open this post in threaded view
|

HTML link in PlaceNode text

Hello !

Is it possible to insert an HTML link into a PlaceNode text ?

Thanks !
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: HTML link in PlaceNode text

Nope.
Glenn Waldron / Pelican Mapping
JeanMarre JeanMarre
Reply | Threaded
Open this post in threaded view
|

Re: HTML link in PlaceNode text

Hello,
Thanks for the quick reply.

Will it be available in a future release ?
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: HTML link in PlaceNode text

There are no plans for it at the moment.
Glenn Waldron / Pelican Mapping
remoe remoe
Reply | Threaded
Open this post in threaded view
|

Re: HTML link in PlaceNode text

In reply to this post by JeanMarre
Hi

You can add a picking handler. Then you can get some feature data on it and do it yourself.

Cheers
Remo Eichenberger, Switzerland, @crocomer
JeanMarre JeanMarre
Reply | Threaded
Open this post in threaded view
|

Re: HTML link in PlaceNode text

What do you mean by do it yourself.
I'm a beginner in osgearth and I don't know in what kind of container will I be able to insert HTML strings.

Did you already did this kind of things in one of your project ?
remoe remoe
Reply | Threaded
Open this post in threaded view
|

Re: HTML link in PlaceNode text

Hi

Look at the picker sample:

https://github.com/gwaldron/osgearth/tree/master/src/applications/osgearth_pick

Add your link on a field of a shape file. Then after a click you can get this link from the shape file field and open a browser with it.

Cheers
Remo Eichenberger, Switzerland, @crocomer