<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hello list,</div><div>I use Openlayers 2.11 and applied a modification to rotate labels (from http://osgeo-org.1803224.n2.nabble.com/How-to-rotate-a-label-in-IE-td4834932.html).</div><div>Everything works fine (multifile in chrome, firefox, IE8; single file in chrome, firefox), but if I use the Openlayers.js single file in IE8 no labels are displayed. There is no error message. While debugging I detected one difference:</div><div>With multi file the label object is created after <br></div><div><span class="tab">&nbsp;&nbsp;&nbsp; </span><span class="tab">&nbsp;&nbsp;&nbsp; </span><span class="tab">&nbsp;&nbsp;&nbsp; </span>this.textRoot.appendChild(label);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; label.appendChild(textbox);&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
 label.appendChild(path);</div><div>So label has fields like 'stroke' and 'coordorigin'. E.g. 'coordorigin' has the attributes 'x' and 'y'.<br></div><div>With single file these label fields are not created. Later on the 'coordorigin' will be set. But instead of label.coordorigin.x=100; labelcoordorigin.y=200; there is only an entry label.coordorigin="100 200"; - so if I call label.coordorigin.y I get 'undefined'.<br></div><div><br></div><div>I think this could be the reason for the missing label. But why is the label object not created correctly?<br></div><div><br></div><div>I found out that there was a similar problem with labels and single file in IE8 (http://trac.osgeo.org/openlayers/ticket/1910), but this patch is already included.</div><div><br></div><div>Has someone another idea?</div><div><br></div><div>Thanks,</div><div>leene</div></div></body></html>