[OpenMap Users] Re: setting DCW map fill color

From: Peter Wilkes <pwilkes_at_cowpie.acm.vt.edu>
Date: Mon, 31 Jan 2005 09:13:31 -0500 (EST)


        i've been checking the openmap website thinking that maybe someone
posted a solution however it appears the the mail archives are not working

in relation to this problem i can see no possible way to temporarily
change the fill color. i thought of a solution of having a layer with the
same exact properies set (except fillcolor) and disabling the normal layer
and enabling the one with the fill color we want however i can't seem to
find a way to temporarily remove/add a layer by name.

i would appreciate any help anyone could please provide.

thank you


On Thu, 27 Jan 2005, Peter Wilkes wrote:

> Hi,
> my client has asked us to have the option of printing our openmap
> map in grayscale with white background and black icons on top. i have
> figured out how to set the background color of the map programmatically
> and i can see how to change the color of the DCW layers in the properties
> files however i want to be able to change that programmatically so i can
> do the following
> backcolor = getbackgroundcolor()
> fillcolor = getdcwfillcolor()
> setbackground(WHITE)
> setdcwfillcolor(WHITE)
> print()
> setbackcolor(backcolor)
> setdcwfillcolor(fillcolor)
> if anyone knows how to be able to set/get the DCW fill color
> programmatically i would be most appreciative.
> Pete

[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Jan 31 2005 - 09:13:58 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:06 EDT