[OpenLayers-Users] Problems using custom symbols (graphic-name) on IE8 by adding objects to OpenLayers.Renderer.symbol

Philip Bruvoll pbruvoll at hotmail.com
Tue Sep 8 04:02:28 EDT 2009


Hi,
I'm having some trouble making custom symbols i IE8. I'm following the example at http://openlayers.org/dev/examples/graphic-name.html
If i substitute line 11 (OpenLayers.Renderer.symbol.rectangle = [2,0, 4,5, 0,5, 2,0];)
with OpenLayers.Renderer.symbol.rectangle = [0.5,0, 10,8, 0,8, 0.5,0]; or
OpenLayers.Renderer.symbol.rectangle = [2,0, 4,5, 0,5, 2,0];
the symbol will display correctly in Firefox but not in IE8.
Does anyone know why this happens?

Kind regards,
Philip Bruvoll

_________________________________________________________________
Share your memories online with anyone you want.
http://www.microsoft.com/middleeast/windows/windowslive/products/photos-share.aspx?tab=1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090908/6e1a0a24/attachment.html


More information about the Users mailing list