[OpenLayers-Users] possible control.clickFeature bug

Eric Lemoine eric.c2c at gmail.com
Sun Mar 16 12:42:57 EDT 2008


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 --------------
A non-text attachment was scrubbed...
Name: patch-select-feature.diff
Type: text/x-diff
Size: 825 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080316/bae78855/patch-select-feature.bin


More information about the Users mailing list