The honest answer is I don't know but you might like to try turning on anti-aliasing of lines to see if that gives a more pleasing effect with JMapPane...
GTRenderer renderer = new StreamingRenderer(); RenderingHints hints = new RenderingHints( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); renderer.setJava2DHints(hints); myMapPane.setRenderer( renderer ); Note that this might slow down rendering quite a bit if you have a lot of features. Michael 2009/9/8 iceDice <[email protected]>: > > Hello, > > I have streets layer and want to display them on JMapPane. I use SLD which > define street outline and fill. > However when i display streets outline edges are not sharp at all, they look > like composed from many dashed lines. > I am working on Linux uBuntu. > I tried same data and SLD on uDig (also on Linux) and results are much > better and edges are much more sharpen. > I am interested what i am doing wrong or it is more Swing-SWT question? > > Thanks. > -- > View this message in context: > http://n2.nabble.com/Display-map-JMapPane-tp3602321p3602321.html > Sent from the geotools-gt2-users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
