> 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

Reply via email to