Re: [OpenMap Users] invisible layers

From: Don Dietrick <dietrick_at_bbn.com>
Date: Thu, 3 Mar 2005 16:56:48 -0500

Hi Guillermo,

How about :

if (l.isVisible()) l.renderDataForProjection(...);

- Don

On Mar 3, 2005, at 4:51 PM, Guillermo Payet wrote:

> Question:
>
> Is there any way to make a layer "invisible", so that when
> calling l.renderDataForProjection() on it, the layer would
> just ignore the call? I tried setting l.setVisible(false),
> but that won't do it.
>
> I could also have the servlet not call "renderDataForProjection"
> on that layer, but becasue of my application's design, some
> way to just tell the layer to not show itself would be
> simpler to implement.
>
> --G
>
>
>
>
>
>
> --
> Guillermo Payet
> L O C A L H A R V E S T
> http://www.localharvest.org
>
> Every Morning I awake torn between a desire to save the world and
> an inclination to savor it. This makes it hard to plan the day.
>
> -E.B.White
>
> --
> [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 Thu Mar 03 2005 - 16:58:11 EST

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