Re: Refreshing only a particular layer..

From: PRADEEP RAMACHANDRAN <arpradeep@lycos.com>
Date: Mon Dec 24 2001 - 01:23:56 EST

Hello Anoop,

If all you want to do is redraw the graphics for a
layer, there is no need to reload your applet.

You only need to recreate the graphics for that
layer ( new OMGraphicList ) and generate and render
the same. When you want to do this depends on how
things have been setup in your layer, for example
if you have a timer then you could have these
done when the timer expires ...

Regards,
Pradeep.

--
On Mon, 24 Dec 2001 10:12:31  
 anoop wrote:
>hi,
>
>is there some way i can refresh only a layer instead of reloading the
>whole applet on some minor change.
>can i do that in DemoLayer itself, right now i am trying to use LayerListener
>but not with much success.
>
>regards,
>anoop
>
--
Click here for your very own create-a-date adventure from MatchMaker
Go to http://ecard.matchmaker.com/dating.html
--
[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 Mon Dec 24 01:24:23 2001

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