diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-02-03 02:33:50 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-02-03 02:33:50 -0600 |
commit | 48e9f6e38213c533286d83e426346471d507467d (patch) | |
tree | fa19d37b1ccdcd17ea40181ae3bef6abedb2450e /iosApp/iosApp/Map/UnitMapView.swift | |
parent | 416be1cc70494737efc2fc2409c889db314d7fdd (diff) | |
download | etbsa-trackermap-mobile-48e9f6e38213c533286d83e426346471d507467d.tar.gz etbsa-trackermap-mobile-48e9f6e38213c533286d83e426346471d507467d.tar.bz2 etbsa-trackermap-mobile-48e9f6e38213c533286d83e426346471d507467d.zip |
WIP: rewrote MapWrapperView + MapView as unified UIKit view controller
Diffstat (limited to 'iosApp/iosApp/Map/UnitMapView.swift')
-rw-r--r-- | iosApp/iosApp/Map/UnitMapView.swift | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/iosApp/iosApp/Map/UnitMapView.swift b/iosApp/iosApp/Map/UnitMapView.swift index e1f90a0..5f418f1 100644 --- a/iosApp/iosApp/Map/UnitMapView.swift +++ b/iosApp/iosApp/Map/UnitMapView.swift @@ -23,9 +23,9 @@ struct UnitMapView: View { var body: some View { ZStack { - MapWrapperView(layer: $unitsViewModel.mapLayerType, - markers: $unitsViewModel.markers, - markerCallback: unitsViewModel.selectUnitWith) + MapView(layer: $unitsViewModel.mapLayerType, + markers: $unitsViewModel.markers, + markerCallback: unitsViewModel.selectUnitWith) if let unit = unitsViewModel.selectedUnit { VStack { DeviceRow(unit: unit, callback: { action in |