I've to cast it. xD

FeatureSource<SimpleFeatureType, SimpleFeature> f =
                    (FeatureSource<SimpleFeatureType, SimpleFeature>)
mMapContext.getLayer(capa_activa).getFeatureSource();
I think in this way the performance is improve. The List<?> was a quick
test. xD
------------------------------------------------------------------------------

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

Reply via email to