Hey list,
I have a very simple problem and I know, that the solution will be really 
simple, yet I haven't found it. 
I'm loading a map and add the click control by using 
...
var click = new OpenLayers.Control.Click();                
map.addControl(click);                click.activate();
...
Now I want to disable this control when I click on a link on the page. I also 
want to activate the control again by clicking again. I know that I need 
something like a toggle function, but what I found on the web doesn't inspire 
me for a simple solution.Can you help me with that?
Best,Freddy

Frederick Löbig
Röderichstraße 59
60489 Frankfurt am Main
---
E:: [email protected]
P: +49 (0) 69 - 78 99 52 41
M: +49 (0) 174 - 70 89 296
---
Office:
euNetworks GmbH
Ludwig-Landmann-Straße 40560486 Frankfurt am MainP: +49 (0) 69 - 90 554 - 532
E: [email protected]
S: floebig

This email and any attachments may contain confidential and/or legally 
privileged information. If you are not the intended recipient, please delete 
the email without reading it and notify the sender.

                                          
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to