thoughtbot / TBAnnotationClustering

Example App: How To Efficiently Display Large Amounts of Data on iOS Maps
http://robots.thoughtbot.com/how-to-handle-large-amounts-of-data-on-maps/
MIT License
728 stars 125 forks source link

dispatch_async #12

Open wazowski78 opened 8 years ago

wazowski78 commented 8 years ago

Hello, I have added at:

void TBQuadTreeGatherDataInRange(TBQuadTreeNode* node, TBBoundingBox range, TBDataReturnBlock block) { if(!node) return; ... }

I am reading data from an online source and I had to add this sentence in order to make a lazy load of the data. I think is a insignificant change in code, but it can save a lot of time to other users of your framework.

After that, I have had to add some Notification or delegare method to my read data function in order of notify the map change region and load the new data.

Regards, M.W.