Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] Re: Re: Automatic refresh of layers

Sure.  What exactly are you trying to do?  Do you just want some code to refresh your layer every 5 minutes?
Do you have any code you could share? Thanks, David

From: Andy Czerwonka [mailto:aczerwonka@xxxxxxxx]
To: udig-devel@xxxxxxxxxxxxxxxxxxxxx
Sent: Thu, 23 Nov 2006 13:24:22 -0500
Subject: [udig-devel] Re: Automatic refresh of layers

I do it using Jesse's strategy and it works just fine. There is some
flickering, but it seems minimal. The new rendering implementation will
most likely remove that issue.


"Jesse Eichar" <jeichar-yW2SoAqRw1aiXjxQG3oJLA@xxxxxxxxxxxxxxxx> wrote in
message news:CF931EB9-43FF-47D9-9B90-4CF7F784EF57-yW2SoAqRw1aiXjxQG3oJLA@xxxxxxxxxxxxxxxx...
> There isn't anything in the framework at the moment. You'll have to
> either use the TimerTask in java.util to call layer.refresh() or use
> Display.timerExec() to call layer.refresh().
>
> Jesse
>
> On 22-Nov-06, at 4:39 AM, David Robison wrote:
>
>> Is there a way to setup a layer to refresh periodically based on a
>> timer? For example, if I've included the NWS national NEXRAD mosaic,
>> could I set it up to refresh every 5 minutes or so?
>>
>> Thanks, David Robison
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>> http://udig.refractions.net
>> http://lists.refractions.net/mailman/listinfo/udig-devel
>



_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top