[Geomoose-users] Refresh Layers
Dan Little
danlittle at yahoo.com
Mon Nov 10 15:43:44 EST 2008
Jay,
You'll need to look into setTimeout or setInterval Javascript functions. You'll then need to write a couple of wrapper functions and attach that to two different buttons (easy to do with a service).
________________________________
From: Jay Kapalczynski <jkapalczynski at ci.maple-grove.mn.us>
To: Dan Little <danlittle at yahoo.com>; "geomoose-developers at lists.sourceforge.net" <geomoose-developers at lists.sourceforge.net>; "geomoose-users at lists.sourceforge.net" <geomoose-users at lists.sourceforge.net>
Sent: Monday, November 10, 2008 2:28:16 PM
Subject: RE: [Geomoose-users] Refresh Layers
That works great….but I am
trying to do something else. Hoping you can point me in the correct direction.
Was trying to get my hands on
the code and modify it in another file. I want to click a button in the tool
bar and it runs the refresh on a particular layer every 10 seconds (or some
other specified time value)
So I would need a loop to run
then stop when the another button was clicked.
Any thoughts?
From:Dan Little
[mailto:danlittle at yahoo.com]
Sent: Monday, November 10, 2008 2:16 PM
To: Jay Kapalczynski; geomoose-developers at lists.sourceforge.net;
geomoose-users at lists.sourceforge.net
Subject: Re: [Geomoose-users] Refresh Layers
Example:
One Layer - Events.triggerEvent('refreshlayer', 'Parcels');
All Layers - Events.triggerEvent('refreshlayers', '');
________________________________
From:Jay Kapalczynski
<jkapalczynski at ci.maple-grove.mn.us>
To: "geomoose-developers at lists.sourceforge.net" <geomoose-developers at lists.sourceforge.net>;
"geomoose-users at lists.sourceforge.net"
<geomoose-users at lists.sourceforge.net>
Sent: Monday, November 10, 2008 2:09:48 PM
Subject: [Geomoose-users] Refresh Layers
Where is the function that refreshes the layers?
Anyone out there know how I could configure the code the
refresh a specific layer?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20081110/74303acc/attachment.html
More information about the Geomoose-users
mailing list