diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2022-09-22 10:12:49 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2022-09-22 10:12:49 +0200 |
| commit | 91a3ec41e28ad948f32bca0791b961c59fea05be (patch) | |
| tree | aa43dd30b0fd6023d7d8dc93e0a2fb7580f609e1 | |
| parent | 2b6debc4b7743b5baafcecebce8b633526069e55 (diff) | |
| parent | e3f1784f63ff2f8b180656dc325eb7c11ea9db78 (diff) | |
| download | mullvadvpn-91a3ec41e28ad948f32bca0791b961c59fea05be.tar.xz mullvadvpn-91a3ec41e28ad948f32bca0791b961c59fea05be.zip | |
Merge branch 'remove-map-labels-ios16'
| -rw-r--r-- | ios/MullvadVPN/ConnectViewController.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ios/MullvadVPN/ConnectViewController.swift b/ios/MullvadVPN/ConnectViewController.swift index ebfd55f27b..49a7bdf1bf 100644 --- a/ios/MullvadVPN/ConnectViewController.swift +++ b/ios/MullvadVPN/ConnectViewController.swift @@ -518,7 +518,7 @@ class ConnectViewController: UIViewController, MKMapViewDelegate, RootContainmen // Replace the default map tiles tileOverlay.canReplaceMapContent = true - contentView.mapView.addOverlay(tileOverlay) + contentView.mapView.addOverlay(tileOverlay, level: .aboveLabels) } private func loadGeoJSONData() { @@ -534,7 +534,7 @@ class ConnectViewController: UIViewController, MKMapViewDelegate, RootContainmen let data = try Data(contentsOf: fileURL) let overlays = try GeoJSON.decodeGeoJSON(data) - contentView.mapView.addOverlays(overlays) + contentView.mapView.addOverlays(overlays, level: .aboveLabels) } catch { logger.error(chainedError: AnyChainedError(error), message: "Failed to load geojson.") } |
