On 5/26/07, Salke <[EMAIL PROTECTED]> wrote: > > Hi René, > > one possibility is the JMapPane-Component which provides basic viewer > functions, you should find some information in the sdk doku. A JMapPane just > displays the content of a MapContainer. Main Problem: It did not work for > me. I tried to display layers form a WMS, but nothing appeared on the > screen. There is another thread by me where I ask about these problems, you > can find some example code there. Hopefully you will have more luck than me.
I didn't see that thread - but if you look on trunk there is now a WMSViewer in the gt-demo-mappane project which will show you how to display WMS layers in a mappane, and even how to make it notice when you zoom in or resize the mappane. It needs some more cleaning up but it's looking ok. It would be really helpful if you could look this over and make some comments. I realize that JMapane leaves a bit to be desired but hopefully I'll have some more time over the summer to work on it. So feel free to file JIRAs against it and assign them to me. > > Greetings, Salke > > René Estrella wrote: > > > > Hi all. > > > > I need to create a spatial tool that displays a map in a panel and a > > legend next to the map showing the layers added among other information. > > I read the related documentation in the GeoTools website and it seems that > > the GUI modules in GeoTools are just in development stage and there is not > > much in "ready to use" form. Which are the possibilities in GeoTools to > > developed such an application? Does already GeoTools include the > > necessary GUI components (map, legend, etc.) to accomplish this? If there > > is some way to do that, where can I find useful documentation to start > > with? There currently isn't any support for a legend but that shouldn't be too hard to add, I wouldn't like to promise when I might find time for it though. It would make a good project for someone who wanted to get started with the GeoTools code base. Ian -- Ian Turton http://www.geotools.org http://pennspace.blogspot.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
