Re: [OpenMap Users] still trying to get layers to turn on...

From: OpenMap Support <openmap_at_bbn.com>
Date: Tue, 3 Aug 2004 13:08:10 -0400

LayerHandler.turnLayerOn(boolean trueForVisible, Layer layer);

On Aug 3, 2004, at 1:02 PM, Ben Podoll wrote:

> What is happening programmatically when you turn a layer on via the
> menu on
> the default application?
>
> I am trying to figure out how to take my BasicMapPanel and turn on
> layers
> programmatically but following the code from that menubar is a lost
> cause.
> Any suggestions?
>
> I can't imagine it is all but a few lines of code to get from the
> BasicMapPanel to turn a layer on and off.
>
> I have been able to get the LayerHandler (from the BasicMapPanel) and
> then
> get all the layers from it... But setVisible() doesn't seem to do much
> (neither does a few of the other methods that I thought would) unless
> the
> layer is on by default - so can anyone point out the step I am missing?
>
> Thanks,
> Ben
>
>
> --
> [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 Tue Aug 03 2004 - 13:09:18 EDT

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