OpenLayers OpenLayers

Ticket #509 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

onImageLoad doesn't sanity check map

Reported by: crschmidt Assigned to:
Priority: blocker Milestone: 2.4 Release
Component: general Version:
Keywords: Cc:
State:

Description

It is possible for a tile to be destroyed before it finishes loading. If this happens, it causes an error.

Attachments

this.map.patch (0.6 kB) - added by crschmidt on 02/24/07 21:03:40.

Change History

02/24/07 21:03:40 changed by crschmidt

  • attachment this.map.patch added.

02/24/07 21:04:09 changed by crschmidt

This does a protection, not displaying the image (or checking this.map.anything) if this.map is not set.

02/25/07 23:09:39 changed by euzuro

  • priority changed from major to blocker.
  • status changed from new to closed.
  • resolution set to fixed.
  • type changed from feature to bug.

thanks chris for getting this patch made. we shoudl probably do a little more work to figure out *why* tiles are destroyed before they load... but at any rate this solves a nasty script error so we should get it in trunk.

r2286