How to attach the information window to the shapes

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

How to attach the information window to the shapes

Manjunatha Bhat
I need to attach the information Window to the shapes In World Wind Java or JOGL , When Click on the shapes the information window should open ,if once again clicks on the shapes information Window should close  .How Can i achieve this?
Reply | Threaded
Open this post in threaded view
|

Re: How to attach the information window to the shapes

gouessej
Administrator
Hello

Use the annotation layer of WorldWind. This example should help you:
https://github.com/NASAWorldWind/WorldWindJava/blob/develop/src/gov/nasa/worldwindx/examples/Annotations.java
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: How to attach the information window to the shapes

Manjunatha Bhat
HI,
By default annotation is appearing in this Example ,But what i need is When double click on the Shapes  Window appear and Close Should be there..How to achieve That...
Thanks...