<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>I will try it and see how it goes. I guess I will need to figure out how I hook up the popup on the navigation.js. I'll get back to you.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks Alexandre</DIV>
<DIV>&nbsp;</DIV>
<DIV>Franz<BR><BR>--- On <B>Wed, 24/2/10, Alexandre Dube <I>&lt;adube@mapgears.com&gt;</I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From: Alexandre Dube &lt;adube@mapgears.com&gt;<BR>Subject: Re: [OpenLayers-Users] Customised Navigation<BR>To: "Franz Okyere" &lt;franzzoa77@yahoo.co.uk&gt;<BR>Cc: Users@openlayers.org<BR>Date: Wednesday, 24 February, 2010, 15:50<BR><BR>
<DIV class=plainMail>Franz,<BR><BR>The Control.Navigation should already do ii and iii, so you basically need to create a control that do stuff on "click" (simple) and activate it as soon as the Control.Navigation control is activated and the opposite for deactivation.<BR><BR>Does that make sense ?<BR><BR>Alexandre<BR><BR><BR>Franz Okyere wrote:<BR>&gt; Hi all,<BR>&gt; <BR>&gt; Nice to meet you. This happens to be my first posting on this list so you can choose to be extra nice. My query is on customising the navigation button to:<BR>&gt; <BR>&gt; i. on single click show popups<BR>&gt; ii. on mouse drag pan or move map<BR>&gt; iii. and on double click keep the dafault (zoom)<BR>&gt; <BR>&gt; I am working on a geomoose project (based on openlayers)<BR>&gt; <BR>&gt; Thanks a lot<BR>&gt; <BR>&gt; Franz<BR>&gt; GIS Specialist<BR>&gt; <BR>&gt; <BR>&gt; ------------------------------------------------------------------------<BR>&gt; <BR>&gt;
 _______________________________________________<BR>&gt; Users mailing list<BR>&gt; <A href="http://uk.mc290.mail.yahoo.com/mc/compose?to=Users@openlayers.org" ymailto="mailto:Users@openlayers.org">Users@openlayers.org</A><BR>&gt; <A href="http://openlayers.org/mailman/listinfo/users" target=_blank>http://openlayers.org/mailman/listinfo/users</A><BR>&gt;&nbsp;&nbsp;&nbsp;<BR><BR><BR>-- Alexandre Dubé<BR>Mapgears<BR>www.mapgears.com<BR><BR></DIV></BLOCKQUOTE></td></tr></table><br>