Hi Sergey, I see no one has jumped in with an easy answer to your question. I guess most people just merge the shapefiles.
If they have a common schema and are small enough to fit into memory at one time you might load their contents into a CachingFeatureSource. Beyond that, one could imagine a CompositeDataStore class that works with a set of member DataStores objects but there would be a bit of work involved. Michael On 18 May 2010 15:12, LSA <[email protected]> wrote: > I have a number of small shapefiles covering some area. > > Normally one shapefile is being rendered by one MapLayer. But I would > like them to share the single MapLayer, including its Style, Query and > visibility. > > Is there some sort of example on how to achieve this? > > Thanks in advance, > Sergey > > ------------------------------------------------------------------------------ > > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------------ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
