[OpenLayers-Users] Problems using custom symbols (graphic-name)
on IE8 by adding objects to OpenLayers.Renderer.symbol
Andreas Hocevar
ahocevar at opengeo.org
Tue Sep 8 04:58:56 EDT 2009
Philip Bruvoll wrote:
> 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?
You are most likely running into http://trac.openlayers.org/ticket/1836
Apply the latest patch from that ticket, and it should work.
Regards,
Andreas.
>
> Kind regards,
> Philip Bruvoll
>
> ------------------------------------------------------------------------
> Share your memories online with anyone you want anyone you want.
> <http://www.microsoft.com/middleeast/windows/windowslive/products/photos-share.aspx?tab=1>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list