Hi Don
I just started testing with 4.6 beta, the snapshot from Oct 29th. Our application compiled and ran with no modifications, mostly everything looks great.
The background color doesn't appear to be working, however (ocean color). This happened as of 4.5.4, this is why we dropped back to the previous version, thinking maybe it would be fixed in 4.6, but 4.6 behaves the same.
We are subclassing from MapBean and using only API calls to create and use OpenMap within our application. We are calling setBackgroundColor(Color) on the MapBean itself. This worked in the previous version, but not 4.5.4 or later. For testing I set the background color to black, then created a thread to call getBackgroundColor() every few seconds to make sure it wasn't being changed by some other code. The method always returns black, so it appears to be correct, but the ocean is always painted in a light blue, which I assume is the default color specified in openmap.properties, we have no such color in our application.
I tried setBackground() on the MapBean and setBackground() on the actual layer, nothing seems to have any affect. I can't imagine no one else has noticed this yet. Are we the only ones that don't modify property files? Is there another API we are supposed to use to set the ocean color?
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Wed Nov 12 17:12:11 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT