diff options
author | Jesse Bounds <jesse@rebounds.net> | 2016-06-01 17:36:07 -0700 |
---|---|---|
committer | Jesse Bounds <jesse@rebounds.net> | 2016-06-01 17:36:07 -0700 |
commit | d9c6181f347c3d6b3cfd4bca7c5ded0d6d93e63d (patch) | |
tree | cbe8e24f775a45dd722189bf79c3281b3ec3910b /platform/ios/src/MGLAnnotationView.mm | |
parent | ce98a7bee7709cd07e7f064215474903a90a0836 (diff) | |
download | qtlocation-mapboxgl-d9c6181f347c3d6b3cfd4bca7c5ded0d6d93e63d.tar.gz |
[ios] Add annotation container view (#5194)
Add a container view to hold annotations. This gets around a performance
issue with `UIView:addSubview:` where adding views is N^2. It helps
annotation views avoid cutting into callout views when the annotation
views are transformed to be "flat".
Diffstat (limited to 'platform/ios/src/MGLAnnotationView.mm')
-rw-r--r-- | platform/ios/src/MGLAnnotationView.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/ios/src/MGLAnnotationView.mm b/platform/ios/src/MGLAnnotationView.mm index 1574da81b2..6f1d94c3e7 100644 --- a/platform/ios/src/MGLAnnotationView.mm +++ b/platform/ios/src/MGLAnnotationView.mm @@ -8,6 +8,7 @@ @property (nonatomic) id<MGLAnnotation> annotation; @property (nonatomic, readwrite, nullable) NSString *reuseIdentifier; + @end @implementation MGLAnnotationView |