<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I had a suspicion that IE didn't like floating point numbers in this case.<br>Multiplying with 10 fixes the symbol defined by [0.5,0, 10,8, 0,8, 0.5,0]<br>But when I use the definition [2,0, 4,5, 0,5, 2,0] which only contains integers,<br>IE will render it incorrectly. Strangely, multiplying this definition by 10 will<br>also fix the problem.<br><br>Kind regards,<br>Philip <br><br>&gt; Date: Wed, 9 Sep 2009 19:39:23 +0200<br>&gt; From: ahocevar@opengeo.org<br>&gt; CC: users@openlayers.org<br>&gt; Subject: Re: [OpenLayers-Users] OpenLayers.js with #1836 patch<br>&gt; <br>&gt; Mike Adair wrote:<br>&gt; &gt; If I recall correctly when I was doing something similar, IE didn't <br>&gt; &gt; accept fractions in the symbol definition.  Scaling it up so that all <br>&gt; &gt; points were integers solved the problem.<br>&gt; &gt;   <br>&gt; <br>&gt; Good point Mike. Now that you mention it, I think I stumbled across the <br>&gt; very same issue a long time ago.<br>&gt; <br>&gt; Philip, can you please try to multiply your coordinates by 10 and try <br>&gt; again? The symbol will not change by doing so. Please report any success <br>&gt; or failure.<br>&gt; <br>&gt; Thanks,<br>&gt; Andreas.<br>&gt; <br>&gt; <br>&gt; &gt; Mike<br>&gt; &gt;<br>&gt; &gt; Andreas Hocevar wrote:<br>&gt; &gt;   <br>&gt; &gt;&gt; Thanks for the symbol defs, these still render incorrectly in IE indeed.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; #1836 needs more work. Patches welcome :-)<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Regards,<br>&gt; &gt;&gt; Andreas.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Philip Bruvoll wrote:<br>&gt; &gt;&gt;   <br>&gt; &gt;&gt;     <br>&gt; &gt;&gt;&gt; Thank you for the patch :)<br>&gt; &gt;&gt;&gt; I have just tried it out.<br>&gt; &gt;&gt;&gt; It seems that a symbol defined by [2,0, 4,5, 0,5, 2,0] now renders with <br>&gt; &gt;&gt;&gt; correct size,<br>&gt; &gt;&gt;&gt; but the position is still wrong (though it has changed). It also <br>&gt; &gt;&gt;&gt; calculates the center<br>&gt; &gt;&gt;&gt; wrong, because it moves when it is scaled up.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; The symbol defined by [0.5,0, 10,8, 0,8, 0.5,0] still renders the same <br>&gt; &gt;&gt;&gt; incorrectly<br>&gt; &gt;&gt;&gt; way on IE8.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Does the two symbols above look the same on your machine with IE8 and <br>&gt; &gt;&gt;&gt; FF/Chrome/Opera?<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Kind regards,<br>&gt; &gt;&gt;&gt; Philip<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;  &gt; Date: Tue, 8 Sep 2009 15:13:32 +0200<br>&gt; &gt;&gt;&gt;  &gt; From: ahocevar@opengeo.org<br>&gt; &gt;&gt;&gt;  &gt; To: pbruvoll@hotmail.com<br>&gt; &gt;&gt;&gt;  &gt; Subject: OpenLayers.js with #1836 patch<br>&gt; &gt;&gt;&gt;  &gt;<br>&gt; &gt;&gt;&gt;  &gt; as promised. Rename OpenLayers.txt to OpenLayers.js.<br>&gt; &gt;&gt;&gt;  &gt;<br>&gt; &gt;&gt;&gt;  &gt; Regards,<br>&gt; &gt;&gt;&gt;  &gt; Andreas.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; ------------------------------------------------------------------------<br>&gt; &gt;&gt;&gt; With Windows Live, you can organize, edit, and share your photos. <br>&gt; &gt;&gt;&gt; &lt;http://www.microsoft.com/middleeast/windows/windowslive/products/photo-gallery-edit.aspx&gt;<br>&gt; &gt;&gt;&gt;     <br>&gt; &gt;&gt;&gt;       <br>&gt; &gt;&gt;   <br>&gt; &gt;&gt;     <br>&gt; &gt;<br>&gt; &gt;   <br>&gt; <br>&gt; <br>&gt; -- <br>&gt; Andreas Hocevar<br>&gt; OpenGeo - http://opengeo.org/<br>&gt; Expert service straight from the developers.<br>&gt; <br>&gt; _______________________________________________<br>&gt; Users mailing list<br>&gt; Users@openlayers.org<br>&gt; http://openlayers.org/mailman/listinfo/users<br><br /><hr />Share your memories online with anyone you want <a href='http://www.microsoft.com/middleeast/windows/windowslive/products/photos-share.aspx?tab=1' target='_new'>anyone you want.</a></body>
</html>