Hi everybody,
using Geotools I can visualize a DefaultFeatureCollection in this way:

 DefaultFeatureCollection deffc = new DefaultFeatureCollection(collection);

     map.addLayer(deffc, null);
    JMapFrame.showMap(map);

But how can I create a Udig layer starting from a DefaultFeatureCollection
(and then visualize the data on a IMap) ?

Thanks.
Alberto
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to