[OpenLayers-Dev] OSM tiles loading delay

Martin Saturka martin.saturka at sourcefabric.org
Wed Jan 5 16:21:48 EST 2011


Hello,
I try to find a way how to postpone a tile loading when its load was
not successful. Some OSM tile providers have problems with tile
serving, but when one asks for a tile in a moment (after a
unsuccessful tile load) again, the tiles tends to be there. The ideal
way would be to have some delay parameter together with the
OpenLayers.IMAGE_RELOAD_ATTEMPTS parameter. For now, it goes too fast
at some situations (e.g. after zooming), and the result is some
unnecessarily missing tiles. Unfortunately, I can not see setTimeout
or alike there to fit.

M.

-- 
Martin Saturka
Software Engineer, Sourcefabric
martin.saturka at sourcefabric.org
www.sourcefabric.org


More information about the Dev mailing list