Well son of StyledMapLayer - as a result of the demise of SML with the arrival of 2.2.x I've put together a new class for drawing interactive maps. Its called JMapPane to show its swing roots and (at the moment) takes a GTRenderer and a MapContext and draws them. There is a mouse listener provided that gives basic one click zooming and panning and I've thrown in some simple actions for use in toolbars and menus to control the mode the viewer is in.
If people would look it over and kick the tyres etc then I'd be grateful. its at http://svn.geotools.org/geotools/trunk/spike/ian/ and includes a mapviewer app that will render a styled map of the US. This week I hope to have time to add some selction/highlight functions and then I'm open to requests or code contributions. The IRC felt that somewhere in side ext/ is the right place to put this until we can give it to geowidgets. Ian -- Ian Turton http://www.geotools.org http://pennspace.blogspot.com/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
