Yes, I am using the select feature control.
Do you mean sc.clickFeature.call(feature)? This is not working for me.
I think I know what the underlining issue might be. The link that calls
clickFeature is in a block of HTML pulled in by AJAX. It's the textual
results of the KML points. Can you see this causing any problems?
It seems this.multipleKey is not correctly set. This does look like a bug.
I'll have a closer look later.
Thanks for the help.
On 15/03/2008, Eric Lemoine <[EMAIL PROTECTED]> wrote:
>
> Xin, i guess you're using the select feature control. Have you tried
> using the following to call clickFeatuse : sc.clickFeature.call(sc) ?
>
> 2008/3/14, Xin <[EMAIL PROTECTED]>:
>
> > Hi,
> >
> > I am getting this error when calling clickFeature. It is called when I
> click
> > on a link with onclick.
> >
> > this.multipleKey has no properties
> > multipleSelect()OpenLayers.js (line 815)
> > forwardMercator(Object layer=Object data=Object)OpenLayers.js (line 814)
> > previewFeature(0)namibia.js (line 177)
> > onclick(click clientX=0, clientY=0)localhost:3000 (line 1)
> > this.select(feature);}}},multipleSelect:function(){return
> > this.multiple||this.ha...
> >
> > The behaviour of this error is strange. Clicking on the feature
> > works.Executing the code in Firebug console. After which, clicking on
> > the trigger
> > link works.
> > On refreshing the page, the problem would come back.
> >
> > I have just updated to the latest trunk.
> >
> > I've been stuck with this for a couple of days now. I would really
> > appreciate any help.
> >
> > Xin
> >
>
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users