<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>> Date: Wed, 9 Sep 2009 19:39:23 +0200<br>> From: ahocevar@opengeo.org<br>> CC: users@openlayers.org<br>> Subject: Re: [OpenLayers-Users] OpenLayers.js with #1836 patch<br>> <br>> Mike Adair wrote:<br>> > If I recall correctly when I was doing something similar, IE didn't <br>> > accept fractions in the symbol definition. Scaling it up so that all <br>> > points were integers solved the problem.<br>> > <br>> <br>> Good point Mike. Now that you mention it, I think I stumbled across the <br>> very same issue a long time ago.<br>> <br>> Philip, can you please try to multiply your coordinates by 10 and try <br>> again? The symbol will not change by doing so. Please report any success <br>> or failure.<br>> <br>> Thanks,<br>> Andreas.<br>> <br>> <br>> > Mike<br>> ><br>> > Andreas Hocevar wrote:<br>> > <br>> >> Thanks for the symbol defs, these still render incorrectly in IE indeed.<br>> >><br>> >> #1836 needs more work. Patches welcome :-)<br>> >><br>> >> Regards,<br>> >> Andreas.<br>> >><br>> >> Philip Bruvoll wrote:<br>> >> <br>> >> <br>> >>> Thank you for the patch :)<br>> >>> I have just tried it out.<br>> >>> It seems that a symbol defined by [2,0, 4,5, 0,5, 2,0] now renders with <br>> >>> correct size,<br>> >>> but the position is still wrong (though it has changed). It also <br>> >>> calculates the center<br>> >>> wrong, because it moves when it is scaled up.<br>> >>><br>> >>> The symbol defined by [0.5,0, 10,8, 0,8, 0.5,0] still renders the same <br>> >>> incorrectly<br>> >>> way on IE8.<br>> >>><br>> >>> Does the two symbols above look the same on your machine with IE8 and <br>> >>> FF/Chrome/Opera?<br>> >>><br>> >>> Kind regards,<br>> >>> Philip<br>> >>><br>> >>> > Date: Tue, 8 Sep 2009 15:13:32 +0200<br>> >>> > From: ahocevar@opengeo.org<br>> >>> > To: pbruvoll@hotmail.com<br>> >>> > Subject: OpenLayers.js with #1836 patch<br>> >>> ><br>> >>> > as promised. Rename OpenLayers.txt to OpenLayers.js.<br>> >>> ><br>> >>> > Regards,<br>> >>> > Andreas.<br>> >>><br>> >>><br>> >>><br>> >>> ------------------------------------------------------------------------<br>> >>> With Windows Live, you can organize, edit, and share your photos. <br>> >>> <http://www.microsoft.com/middleeast/windows/windowslive/products/photo-gallery-edit.aspx><br>> >>> <br>> >>> <br>> >> <br>> >> <br>> ><br>> > <br>> <br>> <br>> -- <br>> Andreas Hocevar<br>> OpenGeo - http://opengeo.org/<br>> Expert service straight from the developers.<br>> <br>> _______________________________________________<br>> Users mailing list<br>> Users@openlayers.org<br>> 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>