Announcement

Collapse
No announcement yet.

Sublayer

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sublayer

    hi,

    I am organizing the layer-manager in my GUI hierarchical, and it is somehow ugly to flattening this to the non-hierarchical layer-system in WWJ.

    one idea:

    couldn't the class "LayerList" itself implement the "Layer" interface?

    thx

    -marco

  • #2
    All WWJ needs is a sequential list of layers which is reflected by it's model API. If you want to have a hierarchical organization you should implement it in your application and update WWJ layer list when a layer or layer group changes state.
    My World Wind Java Blog & WW.net Plugins page

    Comment


    • #3
      ok, but is is such difficult to add the additional signature?
      and, Im not the only one asking this:
      http://forum.worldwindcentral.com/sh...ad.php?t=21640

      also I have found other projects like wwj-kml who using a tree for managing layers. it would be intuitive to have not only a tree of deepth 1.

      even more: I think the PlaceNames layer has as fare as i know a adjustable substructure. here u a generic sublayer concet would be cool.

      THX

      -marco

      Comment


      • #4
        http://code.google.com/p/videso3d/so.../LayerSet.java

        That's how I did it. Maybe it will help you.
        http://gplus.to/BrunoSpy
        http://www.ohloh.net/p/videso3d

        Comment


        • #5
          cool, I had EXACTLY this in mind ;-)
          but I can't use your code, because it is for an commercial application (vs. GPL) ;-(

          is their a way to put this into the worldwind SDK?

          Comment


          • #6
            The best implementations of layer trees are decoupled from the actual layer tree. One of the several problems with coupling them is that it constrains the layer ordering. The tree typically reflects logical grouping that the user needs to make sense of what's available. But logical grouping typically bears little relation to visual priority. I've found the best arrangement to be a logical tree with an adjacent list panel reflecting the WWJ layer list and allowing the list to be reordered by the user. Selecting a layer in the tree merely moves it into the list. Since most apps have hidden layers, the list usually has an option preventing display of these layers in the list. It's also easy to insert layers into the list so that they maintain their relative position to siblings in the tree.

            Comment


            • #7
              Join the 1v1 lol unblocked arena with a custom mode, defeat any opponent, and win.

              Comment

              Working...
              X