|
From: Michael B. <mic...@gm...> - 2012-06-06 00:44:58
|
Thanks for the bug report Tom. I'm moving this thread to the user list where it is more appropriate. Looking at the unit tests, I see that there is nothing in place to test background colour and I don't remember much discussion of it on the list previously, so it's not surprising that there glitches. Here is a Jira issue based on your post: http://jira.codehaus.org/browse/GEOT-4168 I'll try to look into it soon. Michael On 4 June 2012 01:54, TomTom <to...@ya...> wrote: > Hi, > > I am using the JMapPane to display a WMS(transparent) or WFS layer. Setting > a background color of the JMapPane, the color is only visible after first > rendering of the map. > After panning or zooming, the map is always displayed with white background > (transparency lost). > Changing the size of the JMapPane, the background color is visible again. > > So I have changed drawLayers(false) to drawLayers(true) in methods > onImageMoved() and setDisplayArea() and now background color is always > visible. > But I think this is not the correct way to fix the problem. > > Regards, > Tom > > > -- > View this message in context: http://osgeo-org.1560.n6.nabble.com/JMapPane-not-transparent-after-pan-zoom-tp4978813.html > Sent from the geotools-devel mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > GeoTools-Devel mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-devel |