summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2021-05-26 10:25:40 +0200
committerAndrej Mihajlov <and@mullvad.net>2021-05-27 14:33:38 +0200
commitfcaa3ffe0ea2eb890b0c8b9f84469a44cf16668e (patch)
tree0ba49d49286d04898cbd051a80bb3b9878332a7a
parent25a9e0f0299188503c23457614f9cf4a4db433b4 (diff)
downloadmullvadvpn-fcaa3ffe0ea2eb890b0c8b9f84469a44cf16668e.tar.xz
mullvadvpn-fcaa3ffe0ea2eb890b0c8b9f84469a44cf16668e.zip
Map: disable user interaction
-rw-r--r--ios/MullvadVPN/ConnectMainContentView.swift3
1 files changed, 3 insertions, 0 deletions
diff --git a/ios/MullvadVPN/ConnectMainContentView.swift b/ios/MullvadVPN/ConnectMainContentView.swift
index 073bd59a46..99e181ab0d 100644
--- a/ios/MullvadVPN/ConnectMainContentView.swift
+++ b/ios/MullvadVPN/ConnectMainContentView.swift
@@ -21,6 +21,9 @@ class ConnectMainContentView: UIView {
mapView.translatesAutoresizingMaskIntoConstraints = true
mapView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
mapView.showsUserLocation = false
+ mapView.isZoomEnabled = false
+ mapView.isScrollEnabled = false
+ mapView.isUserInteractionEnabled = false
return mapView
}()