OpenLayers OpenLayers

Ticket #447 (closed feature: fixed)

Opened 2 years ago

Last modified 2 years ago

allow multiple image reload attempts before going pink

Reported by: tschaub Assigned to: tschaub
Priority: minor Milestone: 2.3 Release
Component: general Version:
Keywords: Cc:
State:

Description

The following patch takes Stuart Eve's idea to avoid all the pink tiles. By default, OL would only try once. If a user wanted to try multiple image requests before going pink, they would set OpenLayers.IMAGE_RELOAD_ATTEMPTS = 3 (or something similar).

This is somewhat tough to test (requires a timeout), but I have seen it working with the vmap0 wms by adding a console.log, watching additional requests, and getting no pink. (With 0 reload attempts, I frequently get pink.)

Please review.

Attachments

avoid_pink.patch (0.7 kB) - added by tschaub on 12/13/06 14:53:47.
patch to allow multiple image reloads before going pink

Change History

12/13/06 14:53:47 changed by tschaub

  • attachment avoid_pink.patch added.

patch to allow multiple image reloads before going pink

12/13/06 15:25:16 changed by crschmidt

  • status changed from new to closed.
  • resolution set to fixed.

Applied with r2048. Thanks Tim/Stuart/Chris.