<div dir="ltr">Hi,<br><br>this should be pretty clear:<br><br><a href="http://openlayers.org/dev/examples/click-handler.html">http://openlayers.org/dev/examples/click-handler.html</a><br><br>Greets<br><br><div class="gmail_quote">
On Wed, Aug 20, 2008 at 4:47 PM, jvanulde <span dir="ltr">&lt;<a href="mailto:jvanulde@nrcan.gc.ca">jvanulde@nrcan.gc.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi Eric,<br>
<br>
I am following the demo so I am using the following:<br>
<br>
map.events.register(&#39;click&#39;, map, function (e) { ... }<br>
<br>
Is there an example of using the OpenLayers.Handler.Click that does more or<br>
less the same thing that I can look at?<br>
<br>
Thank you for your help.<br>
<br>
Joost<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
Eric Lemoine-3 wrote:<br>
&gt;<br>
&gt; On Wed, Aug 20, 2008 at 4:45 AM, jvanulde &lt;<a href="mailto:jvanulde@nrcan.gc.ca">jvanulde@nrcan.gc.ca</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi all,<br>
&gt;&gt;<br>
&gt;&gt; Currently I have a singleclick handler that does a getFeatureInfo request<br>
&gt;&gt; on<br>
&gt;&gt; an active layer (as per the demo). &nbsp;Of course everytime I double click to<br>
&gt;&gt; zoom and recenter the map a getFeatureInfo request is made. &nbsp;Is there an<br>
&gt;&gt; elegant way to deal with this? &nbsp;Ideally, I don&#39;t want a getFeatureInfo<br>
&gt;&gt; request to be made everytime a user double clicks the map to zoom in and<br>
&gt;&gt; recenter. &nbsp;Any suggestions would be helpful.<br>
&gt;<br>
&gt; Hi<br>
&gt;<br>
&gt; Do you use OpenLayers.Handler.Click for registering the getFeatureInfo<br>
&gt; handler? If you use that I guess double-clicking for zooming shouldn&#39;t<br>
&gt; trigger getFeatureInfo. Unless I&#39;m missing something; in that case,<br>
&gt; some code would help me.<br>
&gt;<br>
&gt; Regards,<br>
&gt; --<br>
&gt; Eric<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="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;<br>
&gt;<br>
<br>
</div></div><font color="#888888">--<br>
View this message in context: <a href="http://www.nabble.com/GetFeatureInfo-on-Single-Click%2C-Zoom-In-on-Double-Click-tp19062128p19069989.html" target="_blank">http://www.nabble.com/GetFeatureInfo-on-Single-Click%2C-Zoom-In-on-Double-Click-tp19062128p19069989.html</a><br>

</font><div class="Ih2E3d">Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="Wj3C7c">Users mailing list<br>
<a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Ivan Grcic<br>
</div>