[worldKit-dev] Activation and <visible>false</visible>
Mikel Maron
mikel_maron at yahoo.com
Fri Jan 5 01:22:23 PST 2007
That's as expected. You'll need to make those items visible first, then activate them, in a single block.
document.worldkit.SetVariable("JLayComm",args);
document.worldkit.SetVariable("JSubComm",args);
The annotations will still be visible after the text disappears. So if you want to make them invisible after,
you'd need to call JLayComm again.
Alternately you could write a new Javascript interface functions. Would be straightforward, with some pointers.
-Mikel
----- Original Message ----
From: Guilherme Pedrosa <guilherme_pl at yahoo.com.br>
To: worldkit-dev at lists.brainoff.com
Sent: Thursday, January 4, 2007 9:04:13 PM
Subject: [worldKit-dev] Activation and <visible>false</visible>
Hi, i am trying to activate an item with its classification , using:
function activate(args)
{
document.worldkit.SetVariable("JSubComm",args);
}
function layerSwitch(args)
{
document.worldkit.SetVariable("JLayComm",args);
}
like i saw in worldkit.org , but , setting <visible> to false, when i try to activate an item nothing happens. If i set <visible> true, like default, it works. But i need that. When the user enter my site the map should be clean.
thanx for any help and critics,
[]s
Guilherme Pedrosa
(21) 8103-4966 | 24274319
guilherme.pedrosa at superig.com.br
__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/ _______________________________________________
worldkit-dev mailing list
worldkit-dev at lists.brainoff.com
http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.brainoff.com/pipermail/worldkit-dev-brainoff.com/attachments/20070105/7a275be5/attachment-0005.htm>
More information about the worldkit-dev
mailing list