I tried to trace in the OpenMap code why the background color set in the MapBean wasn't taking effect. Looks like the getBackgroundColor() method looks to getBackground() instead of the 'background' member variable or getBckgrnd() method.
public Color getBackgroundColor() {
Paint ret = getBackground();
if (ret instanceof Color) {
return (Color)ret;
}
return null;
}
but I used setBackground() and that didn't have any effect either.
I started to work backwards from the Layer paint routine, but only got to the OMGraphicHandler layer delegating the paint to a RenderPolicy and at that level of complexity, I decided to wait.
I also tried setting the main property in the Environment class,
Environment.set("openmap.BackgroundColor", "FF000000");
that didn't have any effect either. The ocean still paints in light blue.
This is important because we need a much darker shade of blue for better contrast against standard MIL-STD-2525 symbols. Any help would be great.
Thanks
Todd
Todd A Webb <twebb@titan.com>
The Titan Corporation
3033 Science Park Road
San Diego, CA 92121
-- [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 19:07:21 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT