[OpenLayers-Trac] [OpenLayers] #3004: ExternalGraphics does not work for SLD with InternetExplorer 8

OpenLayers trac-20090302 at openlayers.org
Wed Jan 5 10:22:51 EST 2011


#3004: ExternalGraphics does not work for SLD with InternetExplorer 8
------------------------------------------------------+---------------------
 Reporter:  gernot                                    |       Owner:  ahocevar    
     Type:  bug                                       |      Status:  new         
 Priority:  major                                     |   Milestone:  2.11 Release
Component:  Renderer.VML                              |     Version:  2.10        
 Keywords:  sld, internet explorer, externalGraphics  |       State:              
------------------------------------------------------+---------------------
 Rendering (point-)vector data with SLD does not work under
 InternetExplorer 8. This can bee seen in this OpenLayers Example:
 http://openlayers.org/dev/examples/sld.html

 With Firefox, there is one small red marker in the south, with IE8 there
 is none.

 As far as i can understand, this is a problem of the
 OpenLayers.Renderer.VML renderer, it does simply not use the
 'externalGraphics' attribute.

 It almost works, if the 'rotation' element of the PointSymbolizer is set
 (for example to 360), because the graphicRotate method actually does add
 the image. In this case, we get a null-access in line 306 (the 'fill' is
 null here). Please find attached a patch that fixes this problem for the
 current trunc.

 After fixing the null-access and using 'rotation' in the sld file, the
 marker is correctly shown.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3004>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list