Ticket #2485 (closed bug: fixed)
wrong fillColor with externalGraphic and Collection geometry
| Reported by: | fredj | Owned by: | ahocevar |
|---|---|---|---|
| Priority: | major | Milestone: | 2.9 Release |
| Component: | Renderer.VML | Version: | SVN |
| Keywords: | Cc: | ||
| State: | Complete |
Description
If the VML renderer draws a collection of point and polygon with an externalGraphic set, the polygon fillColor is set to none.
Because:
- OpenLayers.Renderer.Elements.drawGeometry() calls setStyle for the point and pass the style object.
- OpenLayers.Renderer.VML.setStyle() update the style object (line 242 and 243)
- OpenLayers.Renderer.Elements.drawGeometry() calls setStyle for the polygon and pass the same style object.
The polygon fillColor is none.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

