Hi, I'm new in GeoTools and I want to add an simple geometry ( point,
circle, polyline, and so on) using JTS to a JMapFrame, but I don't know how
to do it.

This is my draw method:

    GeometryFactory gf = JTSFactoryFinder.getGeometryFactory(null);

    private Geometry crearPunto(int x, int y){
        Coordinate c = new Coordinate(x, y);
        return gf.createPoint(c);
    }

I Really Apreciate if someone could help me.

-- 
TSU. Amador Cuenca
------------------------------------------------------------------------------
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to