Yes, I am using the select feature control.<br><br>Do you mean sc.clickFeature.call(feature)? This is not working for me.<br><br>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?<br>
<br>It seems this.multipleKey is not correctly set. This does look like a bug. I'll have a closer look later.<br><br>Thanks for the help.<br><br><div><span class="gmail_quote">On 15/03/2008, <b class="gmail_sendername">Eric Lemoine</b> <<a href="mailto:eric.c2c@gmail.com">eric.c2c@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Xin, i guess you're using the select feature control. Have you tried<br> using the following to call clickFeatuse : sc.clickFeature.call(sc) ?<br> <br> 2008/3/14, Xin <<a href="mailto:xin@zenpow.com">xin@zenpow.com</a>>:<br>
<br>> Hi,<br> ><br> > I am getting this error when calling clickFeature. It is called when I click<br> > on a link with onclick.<br> ><br> > this.multipleKey has no properties<br> > multipleSelect()OpenLayers.js (line 815)<br>
> forwardMercator(Object layer=Object data=Object)OpenLayers.js (line 814)<br> > previewFeature(0)namibia.js (line 177)<br> > onclick(click clientX=0, clientY=0)localhost:3000 (line 1)<br> > this.select(feature);}}},multipleSelect:function(){return<br>
> this.multiple||this.ha...<br> ><br> > The behaviour of this error is strange. Clicking on the feature<br> > works.Executing the code in Firebug console. After which, clicking on<br> > the trigger<br> > link works.<br>
> On refreshing the page, the problem would come back.<br> ><br> > I have just updated to the latest trunk.<br> ><br> > I've been stuck with this for a couple of days now. I would really<br> > appreciate any help.<br>
><br> > Xin<br> ><br> </blockquote></div><br>