[OpenLayers-Users] OpenLayers.js with #1836 patch

Andreas Hocevar ahocevar at opengeo.org
Wed Sep 9 13:39:23 EDT 2009


Mike Adair wrote:
> If I recall correctly when I was doing something similar, IE didn't 
> accept fractions in the symbol definition.  Scaling it up so that all 
> points were integers solved the problem.
>   

Good point Mike. Now that you mention it, I think I stumbled across the 
very same issue a long time ago.

Philip, can you please try to multiply your coordinates by 10 and try 
again? The symbol will not change by doing so. Please report any success 
or failure.

Thanks,
Andreas.


> Mike
>
> Andreas Hocevar wrote:
>   
>> Thanks for the symbol defs, these still render incorrectly in IE indeed.
>>
>> #1836 needs more work. Patches welcome :-)
>>
>> Regards,
>> Andreas.
>>
>> Philip Bruvoll wrote:
>>   
>>     
>>> Thank you for the patch :)
>>> I have just tried it out.
>>> It seems that a symbol defined by [2,0, 4,5, 0,5, 2,0] now renders with 
>>> correct size,
>>> but the position is still wrong (though it has changed). It also 
>>> calculates the center
>>> wrong, because it moves when it is scaled up.
>>>
>>> The symbol defined by [0.5,0, 10,8, 0,8, 0.5,0] still renders the same 
>>> incorrectly
>>> way on IE8.
>>>
>>> Does the two symbols above look the same on your machine with IE8 and 
>>> FF/Chrome/Opera?
>>>
>>> Kind regards,
>>> Philip
>>>
>>>  > Date: Tue, 8 Sep 2009 15:13:32 +0200
>>>  > From: ahocevar at opengeo.org
>>>  > To: pbruvoll at hotmail.com
>>>  > Subject: OpenLayers.js with #1836 patch
>>>  >
>>>  > as promised. Rename OpenLayers.txt to OpenLayers.js.
>>>  >
>>>  > Regards,
>>>  > Andreas.
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>> With Windows Live, you can organize, edit, and share your photos. 
>>> <http://www.microsoft.com/middleeast/windows/windowslive/products/photo-gallery-edit.aspx>
>>>     
>>>       
>>   
>>     
>
>   


-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.




More information about the Users mailing list