[OpenLayers-Users] GetFeatureInfo on Single Click,
Zoom In on Double Click
Eric Lemoine
eric.c2c at gmail.com
Wed Aug 20 01:59:35 EDT 2008
On Wed, Aug 20, 2008 at 4:45 AM, jvanulde <jvanulde at nrcan.gc.ca> wrote:
>
> Hi all,
>
> Currently I have a singleclick handler that does a getFeatureInfo request on
> an active layer (as per the demo). Of course everytime I double click to
> zoom and recenter the map a getFeatureInfo request is made. Is there an
> elegant way to deal with this? Ideally, I don't want a getFeatureInfo
> request to be made everytime a user double clicks the map to zoom in and
> recenter. Any suggestions would be helpful.
Hi
Do you use OpenLayers.Handler.Click for registering the getFeatureInfo
handler? If you use that I guess double-clicking for zooming shouldn't
trigger getFeatureInfo. Unless I'm missing something; in that case,
some code would help me.
Regards,
--
Eric
More information about the Users
mailing list