[OpenLayers-Users] possible control.clickFeature bug

Eric Lemoine eric.c2c at gmail.com
Sun Mar 16 09:40:29 EDT 2008


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.

--
Eric



More information about the Users mailing list