Hi Amador,

> If somebody want to use this code or have a suggest, feel free to email me.

Great to hear you got it working.

You can just use the MapContext instead of creating a separate list of
FeatureSources if you want...

//Select the shapefile to work...
FeatureSource<SimpleFeatureType, SimpleFeature> f =
        mMapContext.getLayer(capa_activa).getFeatureSource();

Michael

------------------------------------------------------------------------------

_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to