Thanks Andrea - that's helpful. I'll prepare a patch for StreamingRenderer.
Michael On 24 August 2011 16:58, Andrea Aime <[email protected]> wrote: > On Wed, Aug 24, 2011 at 8:11 AM, Michael Bedward > <[email protected]> wrote: >> Hi folks, especially Andrea and Jody, >> >> I'm working on a new map pane class in gt-swing to provide the much >> requested ability to have custom graphics and animations drawn over a >> map. People will sub-class DirectLayer to do their custom stuff. This >> layer class draws itself rather than being passed to a renderer. >> >> Now I'm wondering if we should allow a MapContent instance containing >> one or more DirectLayers, and possibly other Layer types, to be passed >> to a StreamingRenderer and have the renderer ignore the DirectLayers, >> or whether it is better to prevent the renderer ever seeing >> DirectLayers ? My first thought was that DirectLayers should not >> reach the renderer and I had started writing gt-swing code to this >> effect. However, my second thought was that I should check with wiser >> heads. > > Imho it's better to have it be handled by the streaming renderer too, > I never put effort in that direction only because so far I haven't had > a need for it. > > The thing is, interactive swing maps are not the only possible use of these > layers, maybe people want to build a tile seeding tool that generates tile > caches out of a set of shapefiles, or a minimal map server, or might already > have their own swing classes. > > Cheers > Andrea > > -- > ------------------------------------------------------- > Ing. Andrea Aime > GeoSolutions S.A.S. > Tech lead > > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > > phone: +39 0584 962313 > fax: +39 0584 962313 > > http://www.geo-solutions.it > http://geo-solutions.blogspot.com/ > http://www.youtube.com/user/GeoSolutionsIT > http://www.linkedin.com/in/andreaaime > http://twitter.com/geowolf > > ------------------------------------------------------- > ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
