From: James M. <jma...@ps...> - 2005-04-05 17:18:23
|
David Adler wrote: > I think the current example at http://www.geotools.org/LiteRendering > is not correct. > > It starts with: > > >MapContext map = new DefaultMapContext(); > >map.addLayer(aFeatureType,aStyle); // to be defined before > > > > but I think the addLayer method needs to refer to aFeatureSource or > aFeatureCollection, not aFeatureType. > > So in the original note that I posted, I assumed that this would be > changed to: Sorry, yes, go ahead and make the change, I was reading out of context. James |