Oliver Gottwald ha scritto: > Hi, > > I would like to make my PointSymbolizer transparent (not show the point). > > I have messed with the following with no luck: > > circleMark.setStroke(styleFactory.createStroke( > filterFactory.literal(Color.OPAQUE), > filterFactory.literal(1))); > circleMark.getStroke().setOpacity(filterFactory.literal(0)); > > circleMark.setFill(styleFactory.createFill(filterFactory.literal(Color.OPAQUE))); > graphic.graphicalSymbols().clear(); > graphic.graphicalSymbols().add(circleMark); > graphic.setSize(filterFactory.literal(1)); > graphic.setOpacity(filterFactory.literal(0)); > > pointSymbolizer = styleFactory.createPointSymbolizer(graphic, null);
Oliver, you don't draw a point transparent. You don't draw it, period. You don't even load it from the data store actually. Every rule has a filter, use it to catch only the features that you want to draw Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
