// setup a point layer with the right geometry trnasformation
Style style = SLD.createPointStyle("circle", Color.BLUE, Color.BLUE, 1f, 10f);
PointSymbolizer ps = (PointSymbolizer) style.featureTypeStyles().get(0).rules().get(0).symbolizers().get(0);
FilterFactory2 ff = CommonFactoryFinder.getFilterFactory2(null);
ps.setGeometry(ff.function("convert", ff.property("wkt"), ff.literal(Point.class)));
// setup the map
MapContent map = new MapContent();
Layer layer = new FeatureLayer(features, style);
map.addLayer(layer);