Ticket #2318 (closed feature: fixed)
move pink tiles to css
| Reported by: | tschaub | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.9 Release |
| Component: | Util | Version: | 2.8 |
| Keywords: | Cc: | ||
| State: | Complete |
Description
When image loading fails, we should set a css class on the image instead of setting the background style color.
In OpenLayers.Util.onImageLoadError, if OpenLayers.Util.onImageLoadErrorColor is null, we could add an olImageLoadError class. Then we could set OpenLayers.Util.onImageLoadErrorColor to null and create a style declaration with pink to maintain backwards compatibility.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

