Update UserAnnotationCalloutView center.

This commit is contained in:
SBiOSoftWhare
2022-04-05 21:33:05 +02:00
parent 6f67b189bd
commit a7179d4465
@@ -46,7 +46,7 @@ class UserAnnotationCalloutView: UIView, MGLCalloutView, Themable {
override var center: CGPoint {
set {
var newCenter = newValue
newCenter.y -= bounds.maxY + Constants.bottomMargin
newCenter.y -= bounds.midY + Constants.bottomMargin
super.center = newCenter
}
get {