Re: [OpenMap Users] Re: setting DCW map fill color

From: Don Dietrick <dietrick_at_bbn.com>
Date: Mon, 31 Jan 2005 09:57:09 -0500

Hi Peter,

So you're using the VPFLayer with DCW data? Or are you using the
ShapeLayer with a shape file derivative? It's unclear what layer you
are using, and that kind of affects the answer.

- Don


On Jan 31, 2005, at 9:13 AM, Peter Wilkes wrote:

> Hello,
>
> i've been checking the openmap website thinking that maybe someone
> posted a solution however it appears the the mail archives are not
> working
> properly.
>
> 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
>
> Pete
>
> 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"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[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:57:59 EST

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