[ios] Fixed auto-shrinking annotation views

Fixes #5547.
This commit is contained in:
Minh Nguyễn
2016-07-02 20:20:05 -07:00
committed by Minh Nguyễn
parent f2fdc23ec7
commit 0d7d2449b1

View File

@@ -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);
}
}