Miscellaneous:
- Some code optimization regarding the way we first add and cluster annotations
Features:
- Added nullability annotations for better Swift support
- Added missing items typing in collections
Miscellaneous:
- Slightly reduced header imports
- Small code readability improvements
Features:
- User can select a single annotation using MKMapView
selectAnnotation:animated:
method
Bugfixes:
- Fix a crash when ADClusterMapView
clusterAnnotationForOriginalAnnotation:
method was called
Features:
- Improved annotations management
Bugfixes:
- Fix clustered annotation refreshing issue
- Fix displayed annotation on top left corner of map view
Miscellaneous:
- Some coding style improvements
- Slight code clean up
Bugfixes:
- Fix potential crash when forwarding selectors
- Secondary delegate is now weak to prevent retain cycles
Features:
- Use ARC
annotations
now returns an array of the annotations that the user added instead of ADClusterAnnotation instances.- Add methods to add and remove non clustered annotations
Bugfixes:
- Fix potential crash during animations (@scheinem)
- Fix a bug when an ADClusterAnnotation instance had no cluster assigned in
mapView:viewForAnnotation:
- Fix crash when the view is deallocated and the private
MKMapAnnotationManager
class still tries to update a selected annotation. (@alloy)
Features:
originalAnnotations
returns an array of id<MKAnnotation> (not ADMapPointAnnotation)
Bugfixes:
- Fix crash when the delegate is not responding to
mapView:viewForAnnotation:
. (@scheinem) - Add a delegate method to hide the subtitle of the cluster annotations. (@scheinem, @steinerl)
- Handle MKUserLocation annotations (@xfyre)
Bugfixes:
- Fix compiler errors and warnings in Xcode <4.4 (@DontPHazeMeBro)
- Fix memory leaks
- Annotation could not always be selected
First release