DanijelHuis / HDAugmentedReality

Augmented Reality component for iOS, written in Swift.
MIT License
480 stars 97 forks source link

maxDistance / reload active notations #37

Closed jacogasp closed 7 years ago

jacogasp commented 7 years ago

Hey, I'm testing the new library. Everything seems fine but now I cannot easily change the maxDistance filter anymore.

With the old version the function reloadAnnotations was available to be called whenever I changed maxDistance.

Would be very comfortable to have an observer that do this automatically whenever the user changes the filter

EDIT: At the moment I solved with self.presenter.reload(annotations: annotationsArray, reloadType: ARViewController.ReloadType.annotationsChanged)

The problem is that using this method the location is desegregated and all the annotations spin a little after each reloading