TolonUK/Leaflet.EdgeBuffer

Edgebuffer UI bocked

Closed this issue · 2 comments

UI thread is blocked during edgebuffer image load and nothing is shown on the map until all edgebuffered tiles are loaded

Can you please elaborate further and provide an example of the problem? A plunker (http://plnkr.co/) would be good. I'm especially interested to know what you mean by 'nothing is shown'; is the browser window blank or are you referring to other map elements such as map controls and layers?

A common problem around map loading is where the map tiles are hosted on the same subdomain as the website. This is affected by browsers limiting the number of in-flight requests for each subdomain, so the solution is to have your map tiles on a different subdomain, e.g. load tiles from maps.mysite.net instead of mysite.net/maps.

The problem probably isn't with this plugin as it only tells leaflet to increase the area that tiles are loaded for, but I'll leave the issue open for now.

Closing issue due to insufficient information from reporter.