danzel / Leaflet.utfgrid

A UTFGrid implementation for leaflet that is super small.
MIT License
132 stars 51 forks source link

Use a queue for json tile requests #2

Closed danzel closed 10 years ago

danzel commented 11 years ago

Currently we just add all of the tile requests and expect the browser to download them. If the user zooms we cannot cancel loading them etc. We should use a queue instead so this can be handled nicer.

aliceh75 commented 10 years ago

Hello,

I have implemented this :-)

I will provide a pull request today. My motivations for implementing this were:

The speed improvements are very noticeable.

aliceh75 commented 10 years ago

See PR #28