![]() |
|
|
#1 |
|
Junior Member
Join Date: Aug 2012
Posts: 2
![]() |
Hello all,
I have an application I am trying to build. I am currently trying to utilize these Tactical Symbols. I have them where I can place them, size them, change the labels, and work offline. But it is imperitave that I change the direction (heading) of the symbols and I cannot find where this is built in. I am a new world wind user but I've tried to come up with some alternative solutions and have encountered other problems: Solution 1: My first thought was to use the icon retriever to create the icon, set it as a wwicon (doesn't seem to add any value). Solution 2: Ah Ha! SurfaceIcons have a heading! Create the icon with the icon retriever, set as a SurfaceIcon. Problem: it's now locked to the ground (which makes it look kind of bad) and I can't set a label to it.Any suggestions would be appreciated. |
|
|
|
|
|
#2 |
|
WWJ Technical Manager
Join Date: May 2007
Location: Seattle
Posts: 1,032
![]() |
Have you looked at PointPlacemark? They have an icon, a label, a leader line and a heading, all optional.
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Aug 2012
Posts: 2
![]() |
PointPlacemark! I didn't look far enough into this one, the name and the fact that all the attributes are contained within PointPlacemarkAttributes threw me off. I've tried it out though and I think this solution may work for me for the time being.
One thing I see with this one is that I don't guess I can use the MilStd2525IconRetriever (which would be cool at least). PointPlacemarkAttributes is expecting an address for the icon instead of just an image of some type. Fortunately, I'm not using a big variety right now and it will probably save on my memory storage to just create a small database of the ones I need. Also, I'm not sure I like how the heading translates when the map is viewed any way other than from directly above the symbol. It looks kind of bizarre if they're pointing up. Thank you. I'll probably have some other questions sooner or later when I start adding more complications. |
|
|
|
![]() |
| 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 |
| Switching loaded icons for a symbol at runtime | sapello | Symbology and Tactical Graphics | 1 | 08-02-2012 05:37 PM |
| Symbol for airplane? | BraydenJames | Development Help | 5 | 10-09-2010 01:24 AM |
| Converting world coordinate orientation angles to roll, pitch, and yaw | bhughes | Development Help | 5 | 03-26-2010 08:21 PM |
| Symbol Sets for Icons | nicholeuf | Feature Discussion | 5 | 05-22-2007 05:01 PM |
| Browser Width in vertical orientation... | James_In_Utah | Developers' Corner | 4 | 01-04-2007 12:15 AM |