Hello, > Now, i want to draw in red color one road not all the roads. i have readed > the Linestring > or LineSegment class, but i don't know how to add this class in the > MapContext.
You don't need to worry about adding a LineString etc. Instead you define a Style that will control the colour of your roads and pick out the one that you want drawn separately. Please have a look at the GeoTools Style workbook for an introduction http://snapshots.dist.codehaus.org/geotools/workshop/StyleWorkbook.pdf The first half of the workbook is an introduction to using Styles. The second half is an exercise that involves drawing selected features in a different colour. Please get back to the list if you need more information. Michael ------------------------------------------------------------------------------ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
