I have an open layers XYZ-layer, while loading the layer, some tiles are not visible. However if I reload the tile it shows (AKA, nothing is wrong with the tile) I think Open Layers have any kind of timeout mechanism, and will not render the tile If it takes too long.
Do anyone know how to increase timeouts?
I think it is not possible to do this I had only one problem a few months ago , And I found the best solution You just need to include this sentence at the top of your sentence and play with your value to set the best for you: I hope it helps. Open Layers IMAGE_RELOAD_ATTEMPTS was set to be fixed. Open Layer IMAGE_RELOAD_ATTEMPTS is a variable to specify how often you want to try to reload the tiles when its expired.
Open Layer. IMAGE_RELOAD_ATTEMPTS = 5;
Comments
Post a Comment