<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19120"></HEAD>
<BODY>
<DIV><SPAN class=592514106-17092011><FONT color=#000080 size=2 face=Arial>Hi
all,</FONT></SPAN></DIV>
<DIV><SPAN class=592514106-17092011><FONT color=#000080 size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=592514106-17092011><FONT color=#000080 size=2 face=Arial>I have
a click event registered on the map:</FONT></SPAN></DIV>
<DIV><SPAN class=592514106-17092011><FONT color=#000080 size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=592514106-17092011><FONT color=#000080 size=2
face=Arial>map.events.register('click', map, function (e) {</FONT></SPAN></DIV>
<DIV><SPAN class=592514106-17092011><FONT color=#000080 size=2 face=Arial>...
code to be executed...</FONT></SPAN></DIV>
<DIV><SPAN class=592514106-17092011><FONT color=#000080 size=2
face=Arial>}<BR></FONT></SPAN></DIV>
<DIV><SPAN class=592514106-17092011><FONT color=#000080 size=2 face=Arial>How
can I activate or deactivate this event ?</FONT></SPAN></DIV>
<DIV><SPAN class=592514106-17092011><FONT color=#000080 size=2 face=Arial>If it
was an OpenLayers control called '<SPAN class=592514106-17092011><FONT
color=#000080 size=2 face=Arial>infofeature</FONT></SPAN>' I could do
e.g.</FONT></SPAN></DIV>
<DIV><SPAN class=592514106-17092011><FONT color=#000080 size=2
face=Arial>infofeature.activate(); <BR>and </FONT></SPAN></DIV>
<DIV><SPAN class=592514106-17092011><FONT color=#000080 size=2
face=Arial>infofeature.deactivate(); </FONT></SPAN></DIV>
<DIV><SPAN class=592514106-17092011><FONT color=#000080 size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=592514106-17092011><FONT color=#000080 size=2 face=Arial>How
could I achieve this for the above event ?</FONT></SPAN></DIV>
<DIV><SPAN class=592514106-17092011><FONT color=#000080 size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=592514106-17092011><FONT color=#000080 size=2
face=Arial>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=592514106-17092011><FONT color=#000080 size=2
face=Arial>Karsten</DIV>
<DIV></FONT></SPAN><FONT color=#000080 size=2 face=Arial></FONT> </DIV>
<P class=MsoNormal align=left><FONT size=2><SPAN
style="FONT-FAMILY: Verdana; FONT-SIZE: 11pt">Karsten
Vennemann<BR></SPAN></FONT><FONT size=1><SPAN
style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt"><BR></SPAN></FONT><FONT
color=#003264><FONT size=1><SPAN
style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt">Terra GIS
LTD<BR></SPAN></FONT></FONT><?xml:namespace prefix = st1 ns =
"urn:schemas-microsoft-com:office:smarttags" /><st1:place w:st="on"><st1:City
w:st="on"><FONT color=#003264 size=1><SPAN
style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt">Seattle</SPAN></FONT></st1:City><FONT
size=1><SPAN style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt"><FONT
color=#003264>, <st1:State w:st="on">WA</st1:State>
</FONT><st1:PostalCode w:st="on"><FONT
color=#003264>98112<BR></FONT></st1:PostalCode></SPAN></FONT></st1:place><st1:country-region
w:st="on"><st1:place w:st="on"><FONT color=#003264 size=1><SPAN
style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt">USA</SPAN></FONT></st1:place></st1:country-region><FONT
color=#003264 size=1><SPAN
style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt"> <BR><A
href="http://www.terragis.net">www.terragis.net</A></SPAN></FONT></P></BODY></HTML>