swing module 2.6-SNAPSHOT (was Re: [Geotools-devel] color layer)

1 message Options
Embed this post
Permalink
mbedward

swing module 2.6-SNAPSHOT (was Re: [Geotools-devel] color layer)

Reply Threaded More More options
Print post
Permalink
Hi Cintia

I'm copying this message to the user list with a new subject - hope
that's alright...

Thanks again for your feedback on the latest changes to the swing module

2009/10/19 Cintia wrote:
> Hi Michael
> It was really good. I suggest just chance the file ResetAction.java to:
> getMapPane().setDisplayArea(getMapPane().getMapContext().getLayerBounds());
>
> Like it was, showed only the extent of the first layer.

Ah, I'll look into that.

> Now I need to add the option to show the attribute table of a shape

You're in luck ! Jody has written an example app that does exactly that...

http://geotools.org/examples/querylab.html



> and the
> option to zoom to a layer.Have any suggestions??

You can just do this...
mapPane.setDisplayArea( mapLayer.getBounds() );

Hope this helps.

Michael

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users