Making setVisible(false) layers?

From: Williams, Leonidas (IndSys, GEPC) <Leonidas.Williams@GEPC.GE.com>
Date: Wed Aug 14 2002 - 03:51:46 EDT

Hi to everyone:

I am trying to make the layers no visible when I want. I am making this
code:

MapRequestHandler map;

.....

Layer lyrMine[] = map.getLayers();
lyrMine[4].setVisible(false);
lyrMine[4].repaint();

But this code is no taking effect. Am I forgetting something?? What else
should I do??

Thanks in advance for your help.

--
[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 Aug 14 03:53:58 2002

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