From: Alexrk <al...@ya...> - 2010-12-30 22:59:52
|
OK, seems the problem was fixed somewhere in the meantime, I've just tested 2.7-M5 and it looks fine with that version. Alex Alexrk schrieb am 30.12.2010 23:42: > Hi, I use GeoTools to create thematic maps. Now I stumbled upon a problem with > the PointSymbolizer: it renders a marker graphic always twice (I use the SVG > renderer). This is pretty nasty because the resulting SVG is very hard to edit > per hand afterwards. > > Here is my code.. > > Mark mark = sb.createMark("circle", null, sb.createStroke(new Color(100, 100, > 100))); > > layers.add(new DefaultMapLayer(dsGeoref100.getFeatureSource(), > sb.createStyle(sb.createPointSymbolizer(sb.createGraphic(null,mark,null,1d,50,0d))) > )); > > I hope someone has an explenation or workaround... > > Regards, Alex > |