[Mapbender-users] Refresh WMS-Layer every 30 Seconds
Christoph Baudson
christoph.baudson at wheregroup.com
Tue Mar 25 09:07:10 EDT 2008
Tilo Wütherich schrieb:
> Hi Mike,
>
>
>> how can i refresh a WMS-Layer every 30 seconds? (not the whole
>>
>
> there is a mod_repaint. Usually it is called by onClick, but I'm sure you
> can add an appropriate javascript-call every x seconds or so.
>
I guess you could use
setSingleMapRequest(frameName,wms_id)
alternatively for this purpose.
Maybe add a new module in "Edit GUI Elements" (an empty div), with a
JavaScript file listed under "javascripts". This JS file could contain a
function with a setTimeout mechanism.
You could register this function that starts the timeout with the init
functions.
I think it's a pretty cool idea, and I would love to see a demo if you
have a result. If you need further help, let us know
Christoph
> Cheers,
>
> Tilo
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>
--
****************************************
FOSSGIS Konferenz
Freie und Open Source Software für GIS
vom 01.-03. April 2008 in Freiburg
www.fossgis.de/
****************************************
_______________________________________
W h e r e G r o u p GmbH & Co. KG
Siemensstraße 8
53121 Bonn
Germany
Christoph Baudson
Anwendungsentwickler
Fon: +49 (0)228 / 90 90 38 - 25
Fax: +49 (0)228 / 90 90 38 - 11
christoph.baudson at wheregroup.com
www.wheregroup.com
Amtsgericht Bonn, HRA 6788
_______________________________________
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Arnulf Christl, Olaf Knopp, Peter Stamm
_______________________________________
More information about the Mapbender_users
mailing list