XMLHttpRequests clogging/pending in Leaflet.js

المشرف العام

Administrator
طاقم الإدارة
If I have a lot of active layers and eg. zooom in and out, dozens of tile xmlhttprequests are sent. This causes a problem in most browsers, clogging it so to speak, and leaving the map blank and dozens of Pending resource requests in Network Console (in eg. Chrome).

Any known work-around for this issue? I'm creating a map with dozens of layers for a client, and with some activity on the map (zoom, adding lots of layers simultaneously, etc), this issue will appear.

What is needed, I believe, is some internal queue in Leaflet.js, as the queue in eg. Chrome browser is buggy.



أكثر...
 
أعلى