[OpenLayers-Users] possible control.clickFeature bug

Xin xin at zenpow.com
Tue Mar 18 13:01:26 EDT 2008


That works great. Thanks!

The ticket is at http://trac.openlayers.org/ticket/1449

On 16/03/2008, Eric Lemoine <eric.c2c at gmail.com> wrote:
>
> On Sun, Mar 16, 2008 at 2:40 PM, Eric Lemoine <eric.c2c at gmail.com> wrote:
> > On Sat, Mar 15, 2008 at 3:17 PM, Xin <xin at zenpow.com> wrote:
> >  > Ghastly. I get the same error.
> >  >
> >  > A hackaround.
> >  >
> >  > I have changed
> >  >
> >  > return this.multiple || this.handler.evt[this.multipleKey];
> >  >
> >  > to
> >  >
> >  > return this.multiple;
> >
> >  I guess I understand the problem. In the regular case clickFeature is
> >  called as a result of a DOM event, this causes this.handler.evt to be
> >  set. In your case: no event so this.handler.evt isn't set.
>
>
> Can you give the attached patch a try.
>
> If the patch works for you and you care about this stuff, feel free to
> open a ticket [*] and attach my patch to the ticket.
>
> Thanks,
>
> [*] http://trac.openlayers.org/wiki/FilingTickets
> --
>
> Eric
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080318/72204a15/attachment.html


More information about the Users mailing list