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