![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Java Developer/Consultant
Join Date: Oct 2007
Location: Austin, Texas
Posts: 115
![]() |
I would like to render objects (such as airplanes, boats and cars) that have a combination of annotated text, user facing Icons (or perhaps a 3D model), dynamically changing velocity vectors and other dynamic attributes. There isn't a built in way to do this right now with the core library classes without some custom code (since some of the core classes like UserFacingIcon are not Renderables) or without using multiple layers except perhaps for the KML and Symbology parts of the library.
Has anybody tried using KML snippets or the Symbology base classes to render such objects or have an opinion on using such an approach for say hundreds of dynamically changing composite objects? (At some point, it'd be nice if all of the core objects implemented Renderable to make it easier to create composites.) Thanks, Rob |
|
|
|
|
|
#2 |
|
WW Dev. Team
Join Date: Sep 2010
Location: Boston, MA, USA
Posts: 325
![]() |
You could do this by extending the Symbology base classes. AbstractTacticalSymbol provides the ability to draw an icon, draw text, and draw a line that you could use for the velocity indicator.
By KML snippets do you mean constructing a KML doc that includes a placemark with text and a path to indicate direction? That would work. Or you could do that manually in WW using PointPlacemark and Path, if you didn't want to go through KML. I would probably start with the Symbology classes, since it sounds like what you want isn't too far off from what they provide. |
|
|
|
![]() |
| 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 |
| how to move composite objects | Antuano | Development Help | 0 | 02-17-2011 08:18 AM |
| KML Parsing & Airspace Objects | iliTheFallen | Development Help | 8 | 10-09-2010 06:48 PM |