diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-07-02 20:20:05 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-07-02 20:20:05 -0700 |
commit | 0d7d2449b1365f7164db39cb0ec899306b835326 (patch) | |
tree | a9d865985b3b72fad4488ec8af53d8f157d210a9 /platform/ios | |
parent | f2fdc23ec7b39d1ee6c9e4b37ad4952e4a5f5447 (diff) | |
download | qtlocation-mapboxgl-0d7d2449b1365f7164db39cb0ec899306b835326.tar.gz |
[ios] Fixed auto-shrinking annotation views
Fixes #5547.
Diffstat (limited to 'platform/ios')
-rw-r--r-- | platform/ios/src/MGLAnnotationView.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/src/MGLAnnotationView.mm b/platform/ios/src/MGLAnnotationView.mm index 656b1c0f3e..7f571c9744 100644 --- a/platform/ios/src/MGLAnnotationView.mm +++ b/platform/ios/src/MGLAnnotationView.mm @@ -101,7 +101,7 @@ // reduction is then normalized for a scale of 1.0. CGFloat pitchAdjustedScale = 1.0 - maxScaleReduction * pitchIntensity; - CATransform3D transform = self.layer.transform; + CATransform3D transform = CATransform3DIdentity; self.layer.transform = CATransform3DScale(transform, pitchAdjustedScale, pitchAdjustedScale, 1); } } |