![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Apr 2012
Posts: 20
![]() |
I need to put just a simple label on the screen that is visible when zoomed out. I've tried SurfaceText but it only visible when zoomed in pretty far. I also tried using a Globe Annotation but I don't see a way to make the background translucent. I've searched through the postings but I didn't find anything that fit. Any suggestions would be greatly appreciated.
|
|
|
|
|
|
#2 |
|
WW Dev. Team
Join Date: Sep 2010
Location: Boston, MA, USA
Posts: 325
![]() |
To get a transparent GlobeAnnotation you can set the frame shape to none:
Code:
AnnotationAttributes attrs = new AnnotationAttributes();
attrs.setFrameShape(AVKey.SHAPE_NONE);
GlobeAnnotation annotation = new GlobeAnnotation("My Annotation", position);
annotation.setAttributes(attrs);
|
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Aug 2009
Location: Paris
Posts: 232
![]() |
You can also look at UserFacingText.java
|
|
|
|
|
|
#4 |
|
WWJ Technical Manager
Join Date: May 2007
Location: Seattle
Posts: 1,027
![]() |
PointPlacemark can also be used.
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Apr 2012
Posts: 20
![]() |
I'm using GlobeAnnotation and it is giving me the functionality I need.
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reg compiling the source code | Raj | Developers' Corner | 10 | 08-26-2008 06:58 PM |
| SurfaceIcon class | calhoun | Development Help | 3 | 04-07-2008 06:19 PM |
| Dependency injection instead of static singleton WorldWind | stolsvik | Feature Discussion | 19 | 08-06-2007 02:57 PM |
| Build PluginEngine as a Class Library DLL to support binary DLL plugin development | gohyongkwang | Suggestion Box | 1 | 08-24-2006 06:47 AM |
| How to use the PolygonFeature class? | beginor | Developers' Corner | 13 | 08-09-2006 02:01 PM |