[worldKit-dev] WMS switching, is it possible ?

Sébastien Deschamps sebastian.deschamps at gmail.com
Tue Aug 1 16:00:13 PDT 2006


Hi Mikel

Thank you so much, this demo was of a great help, it works perfectly. 
best regards
sebastian

Le mardi 1 août 2006 20:42, Mikel Maron a écrit :
> Hi Sebastien
>
> I put together a brief demo of this at http://worldkit.org/test/wmstoggle/
> Hope that helps
>
> Mikel
>
> ----- Original Message ----
> From: Sébastien Deschamps <sebastian.deschamps at gmail.com>
> To: worldkit-dev at lists.brainoff.com
> Sent: Thursday, July 27, 2006 8:24:31 AM
> Subject: [worldKit-dev] WMS switching, is it possible ?
>
> Hi,
> I'm currently working on a project of Joomla! CMS plugin based on worldkit,
> I read in precedent post that WMS switching could be possible by
> using "JLayComm".
>
> I'm trying to implement it, but I must admit I'm a bit lost. I put 2 WMS in
> the config.xml and the
> "<script type="text/javascript">
> function activate(args) {
>   document.worldkit.SetVariable("JComm",args);
> }
> function layerSwitch(args) {
>   document.worldkit.SetVariable("JLayComm",args);
> }
> </script>"
> in the header, I would like to be able to switch the WMS with a checked
> box, but I can't figure how to do it.
> It would be wonderful if someone could give me an example or explain how i
> could do it.
>
> Thanks

-- 
Sebastian Deschamps



More information about the worldkit-dev mailing list