We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 670c9c3 commit aca2096Copy full SHA for aca2096
GoInfoGame/GoInfoGame/UI/Map/CustomMap.swift
@@ -91,14 +91,14 @@ struct CustomMap: UIViewRepresentable {
91
92
93
// Remove existing overlays
94
- mapView.overlays.forEach { mapView.removeOverlay($0) }
+ mapView.overlays.forEach {
95
+ if !($0 is WMTSSeever) {
96
+ mapView.removeOverlay($0)
97
+ }
98
99
100
mapView.addOverlay(shadowOverlay)
101
- if case .wmts(let satelliteServer) = selectedSattiliteOption {
- mapView.addOverlay(WMTSSeever(satelliteServer: satelliteServer), level: .aboveLabels)
- }
-
102
// if useBingMaps {
103
// let tileOverlay = BingTileOverlay()
104
// tileOverlay.minimumZ = 3 // Set minimum zoom level
0 commit comments