|07-16-2012, 09:47 PM||#1|
Join Date: May 2010
Location: Layton, UT
Objects over ScreenAnnotation
After some testing and research, I've decided to see if anyone can give me a quick fix for this!
For a project I'm working on, I have the need for a large screen annotation in the middle of the screen, with the globe behind it. This is obviously fine! The weird part is, however, I need GlobeAnnotation objects as well, and I need them to actually appear in front of the ScreenAnnotation object. It seems, however, that no matter what order I add the AnnotationLayers (Globe & Screen), the ScreenAnnotation is in the very front (on top). I understand that this is probably the expected behavior, but is there a simple/obvious way for me to override this behavior?
I also have the need to view Renderable objects on top of the ScreenAnnotation as well. This is all sort of the same issue. Basically, I need to be able to place an annotation in a fixed position (A ScreenAnnotation/ScreenImage, irrelevant to geocoords) but still be able to have geo-rectified objects appear in front of it.
|07-17-2012, 01:46 PM||#2|
Join Date: Feb 2008
Location: Melbourne, FL, USA
try extending the ScreenAnnotation to make doRenderNow(...) call draw(...) instead of drawTopLevelAnnotation(...), that'll probably get you moving in the right direction.
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|KML Parsing & Airspace Objects||iliTheFallen||Development Help||8||10-09-2010 06:48 PM|
|Another question on picking multiple objects||tmorrison||Development Help||0||09-23-2010 04:22 PM|
|Performance with Objects||Kashank||Development Help||6||01-07-2010 03:34 PM|
|SelectListener and SphereAirspace objects||kermit||Development Help||3||05-06-2009 06:48 PM|
|[Solved] Icons/annotations not visible through quadrics object? (but 3d objects are)||elevenette||Development Help||2||10-15-2008 08:42 PM|