Hi Jody,

I'm looking at SelectionLab now. I was mistaken before. It still works
fine with the current JMapPane. The problem is with the supposedly
"improved" JMapPane.

I'm trying to work out whether updating the example will make it work
with the changed JMapPane code, but I'm a bit lost in the new Layer
code.  In the example, the style of the single layer is updated when a
new feature selection is made:

        mapFrame.getMapContext().getLayer(0).setStyle(style);
        mapFrame.getMapPane().repaint();

I see that getLayer returns a deprecated DefaultMapLayer object.
However, I can't update the example to use the new MapContent.layers()
method because there doesn't seem to be a setStyle method (?)

I'll be on IRC for the next half an hour or so.

Michael

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to