thoughtbot/TBAnnotationClustering

Request for updating the loaded data

Opened this issue · 1 comments

Is there anyway to update the data that's already loaded into the QuadTree dynamically?

I love the example and am trying to use it to achieve an effect i want, but i am having issues when i want to add new pins or remove pins, or just update the coordinates of the pins.

Recalling BuildTree does not seem to play well with MKMapView as it looks to screw up the pins thinking it has already drawn them and does not trigger the mapView annotationView: delegate.

See this class for a wrapper around TBQuadTree that supports adding/removing data.