Hello Mathieu, Yes please create an issue and assign it to Jody.
The MapContent / Layer code is in a bit up in the air at the moment. I'm not actually sure what the current status is: Jody and Andrea know more I think. Meanwhile the swing module is waiting for the the dust to settle in gt-main and gt-render before catching up. Michael On 24 June 2011 16:21, Mathieu Baudier <[email protected]> wrote: >> after upgrading from GeoTools 2.6.6 to 2.7.2, the following code >> fails, which was previously working: >> >> mapPane = new JMapPane(new StreamingRenderer(), new DefaultMapContext()); > > After analyzing the MapContent code I could find the following > workaround for this issue: > > MapContext mapContext = new DefaultMapContext(); > // dummy call to make sure that the layers are initialized > mapContext.layers(); > mapPane = new JMapPane(new StreamingRenderer(), mapContext); > > It looks like a regression. > Should I book a JIRA issue? > > Cheers, > > Mathieu > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense.. > http://p.sf.net/sfu/splunk-d2d-c1 > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
