![]() |
|
|||||||
| Suggestion Box Suggestions for World Wind features and improvements. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Java Hacker
Join Date: Nov 2008
Location: Dayton, OH
Posts: 14
|
Maybe there is already something like this but I would like layers to have the ability to have sublayers. I have a display that shows layers in a JTree view and you can turn on/off a group of layers by selecting/deselecting a parent node. It's nice to be able to group certain layers but still have the ability to turn on/off individual layers.
|
|
|
|
|
|
#2 |
|
Super Member
Join Date: Nov 2006
Location: 35.0376,-117.9688
Posts: 1,519
|
Screen shot, code ??
|
|
|
|
|
|
#3 |
|
Member
Join Date: May 2009
Location: Germany, Darmstadt
Posts: 67
|
hi!
I have also written something like this for me, but currently the code is realy ugly!! I have also an other application for this: I have objects which are currently rendered into two layers, one IconLayer, and one SurfaceShapeLayer, It would be cool to group them somehow togeter... maybe there could be a layer type "MasterLayer" where you can throw other layers into it, and ask it for his childrens (public Layer getSublayers() ). if this layer is disabled, also each of his sublayers is disabled... the render, picking, ... stuff could also be delegagted to the sublayers if it is enabled..... shouldnt be soo difficoult to build something like this? thx marco |
|
|
|
|
|
#4 |
|
Member
Join Date: May 2009
Location: Germany, Darmstadt
Posts: 67
|
one idea:
couldnt the class "LayerList" itself implement the "Layer" interface? thx marco |
|
|
|
![]() |
| 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 |
| Layer Manager sublayers | mayra | Add-ons & Scripts | 7 | 02-08-2008 07:48 AM |
| Problem with shapefile sublayers all being checked | James_In_Utah | Bug Reports | 0 | 03-31-2006 01:37 PM |