[OpenLayers-Users] Click Handler callback invoked 3 times
Eric Lemoine
eric.lemoine at camptocamp.com
Sun Jul 10 14:20:15 EDT 2011
On Sun, Jul 10, 2011 at 10:13 AM, Dave Potts <dave.potts at pinan.co.uk> wrote:
> Using openlayers 2.10 I have installed a click
> handler(Openlayers.Handler.Click) on a map , using a scale as the
> control argument and the register function to install the callback as
> type click.
>
> When ever I do a single click, the call back routine gets called 3
> times, is there any reason for this? I had assume it would only be
> called once.
>
> The same things happens with the double click callback!
>
> I have checked and the callback is only installed once.
Hi. It is difficult to help you without seeing actual code.
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com
More information about the Users
mailing list