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

Merged
merged 1 commit into from Mar 5, 2012

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
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 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