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

From: OpenMap Support <openmap@bbn.com>
Date: Tue Aug 03 2004 - 13:08:10 EDT

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@bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
>

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[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 Tue Aug 3 13:09:18 2004

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:39 EDT