World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Symbology and Tactical Graphics

Reply
 
Thread Tools Display Modes
Old 08-27-2012, 04:49 PM   #1
heidtmare
Senior Member
 
heidtmare's Avatar
 
Join Date: Feb 2008
Location: Melbourne, FL, USA
Posts: 675
heidtmare is on a distinguished road
Question Batch Picking of TacticalSymbols?

I have a JPopupMenu that displays all items under the cursor on rightClick.
This is only possible when I do a setEnableBatchPicking for my placmarks and shapes.
I need this to work for TacticalSymbol as well.

Is there a batch picking flag that I'm missing? do i need to implement this myself?
heidtmare is offline   Reply With Quote
Old 08-27-2012, 05:11 PM   #2
dcollins
WWJ Dev. Team
 
Join Date: May 2007
Posts: 449
dcollins is on a distinguished road
Default

heidtmare,

The batch picking flag is currently provided through AbstractTacticalSymbol, not the TacticalSymbol interface. Please try calling MilStd2525TacticalSymbol.setEnableBatchP icking after you construct each tactical symbol, and let us know if that works for you.

Thanks,
Dave
dcollins is offline   Reply With Quote
Old 08-27-2012, 07:39 PM   #3
heidtmare
Senior Member
 
heidtmare's Avatar
 
Join Date: Feb 2008
Location: Melbourne, FL, USA
Posts: 675
heidtmare is on a distinguished road
Default

yep.. that did it.
My habit of declaring a variable as its interface type messed me up in this case.
heidtmare is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deep picking with Path BrunoSpy Development Help 3 04-05-2012 04:11 PM
Disabling batch picking? mkozak Development Help 3 10-18-2011 10:33 PM
picking only when ctrl + leftclick jason_liu Development Help 1 10-04-2010 01:59 PM
Picking multiple renderable objects klaysta Development Help 1 08-11-2010 03:32 PM
Trouble with picking on mountainous regions slade Development Help 3 07-17-2007 08:49 PM


All times are GMT +1. The time now is 06:52 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.