On 03/02/2011, at 1:28 AM, andrea antonello wrote: > Did anyone use the swing viewer lately?
Not me. > I am looking into the code and running it and there are some things > that do not work. > Just a couple of examples: > - map layer doesn't show any map, even if there is one visualized > - crs chooser throws some exception I have not tried running the code recently; it is in the docs folder if you want to try running the origional. The demo/examples one is being phased out. > As said, I am looking into it, I just wanted to see if I am running > something in a wrong way. > Following the labs, I just run it as: > JMapFrame show = new JMapFrame(context); > show.enableLayerTable(true); > show.enableToolBar(true); > show.enableStatusBar(true); > show.setVisible(true); context is your map context? I assume it has layers; and hopefully those have provide a default extent. Jody ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
