New events: loaderror for Tile, tileerror for Layer.Grid. #283

Merged
merged 1 commit into from Mar 5, 2012

Conversation

Projects
None yet
2 participants
@ahocevar
Member

ahocevar commented Mar 5, 2012

With this event, users that previously used OpenLayers.Util.onImageLoadError now have an API way to handle tile loading errors with more than just a static background image.

The new events will also be useful for offline storage of tiles, to fall back from an online image to one from local storage.

@bartvde

This comment has been minimized.

Show comment
Hide comment
@bartvde

bartvde Mar 5, 2012

Member

This looks good, no remarks, please merge if you can confirm that relevant tests still pass in IE8, IE9, Chrome, Safari and Firefox. TIA.

Member

bartvde commented Mar 5, 2012

This looks good, no remarks, please merge if you can confirm that relevant tests still pass in IE8, IE9, Chrome, Safari and Firefox. TIA.

ahocevar added a commit that referenced this pull request Mar 5, 2012

Merge pull request #283 from ahocevar/tileerror
New events: loaderror for Tile, tileerror for Layer.Grid. r=@bartvde

@ahocevar ahocevar merged commit d6ffd60 into openlayers:master Mar 5, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment