user4773894
user4773894

Reputation:

Openlayers 3 Handle tile load error

I know there is a tileloaderror event fired if a tile fails to load, but how do I use that event to replace the missing tile with a 256x256 transparent png? At the moment if a tile is missing and you zoom in then the zoomed out portion of the tile is still available, I want to replace it with a blank to stop this.

Any ideas?

Upvotes: 2

Views: 1541

Answers (1)

oterral
oterral

Reputation: 471

Set value of useInterimTilesOnError to false

Upvotes: 1

Related Questions