Hi Jody,

> I would like to hear back on your experience with reordering
> MapContext layers.
>

I've got something working now - still very draft code...

In branches/2.6.x_JMapPane_move/demo/mapwidget - I've added a class
MapLayerTable which works with a JMapPane object and displays a list
of layer names and states.  If you drag-reorder items in the list, the
layers are re-ordered in the pane's MapContext object.

The list displays layers in reverse order to how they are stored in
DefaultMapContext so that the last-rendered layer is at the top of the
list.

I've only tested it with three layers so far (using the udig example
shapefiles).  When you've got a chance please take a look.

I'd be grateful for comments from anyone else interested in the map
pane classes too.

cheers
Michael

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to