diff options
author | Jesse Bounds <jesse@rebounds.net> | 2017-05-09 12:08:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-09 12:08:41 -0700 |
commit | b7b6706576dc196fa74bb2089d3efdf2a2b4c357 (patch) | |
tree | f854466ca4b9da06a6805a7fa6958228b8a45235 /include/mbgl/annotation | |
parent | c69fae99a561a04cac79d2931b43e53892167a0e (diff) | |
download | qtlocation-mapboxgl-b7b6706576dc196fa74bb2089d3efdf2a2b4c357.tar.gz |
[ios] Use map view frame to calculate annotation view reuse adjustments (#8926)
* [ios] Use map view frame to calculate annotation view reuse adjustments
The value for determining the visible viewport buffer and also the distance to move offscreen an annotation view outside of that buffer was based on the annotation view width and height. This changes that to use the map viewport width and height as constants and avoids a class of bugs where the annotation view would become detached from the tracking system when it did not have a size or was animating from a small to large size.
Diffstat (limited to 'include/mbgl/annotation')
0 files changed, 0 insertions, 0 deletions