diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-12-22 23:18:57 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-12-22 23:18:57 -0600 |
commit | 3c9c065f8f8a9076230e203c8ffa4c8793844b6d (patch) | |
tree | a31fa249810903da3cd085d968fbf259232c3f1a | |
parent | dd423f797488862b9eaafe5f95ee599225f64571 (diff) | |
download | etbsa-trackermap-mobile-3c9c065f8f8a9076230e203c8ffa4c8793844b6d.tar.gz etbsa-trackermap-mobile-3c9c065f8f8a9076230e203c8ffa4c8793844b6d.tar.bz2 etbsa-trackermap-mobile-3c9c065f8f8a9076230e203c8ffa4c8793844b6d.zip |
[ios] Changed map report dimensions
-rw-r--r-- | iosApp/iosApp/Map/MapViewController.swift | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/iosApp/iosApp/Map/MapViewController.swift b/iosApp/iosApp/Map/MapViewController.swift index 07b72a6..c7bc91d 100644 --- a/iosApp/iosApp/Map/MapViewController.swift +++ b/iosApp/iosApp/Map/MapViewController.swift @@ -231,7 +231,7 @@ class OurMaplyViewController: MaplyViewController { let vectorDesc: [AnyHashable : Any] = [ kMaplyColor: colorReport, - kMaplyVecWidth: 15.0, + kMaplyVecWidth: 12.0, kMaplyWideVecImpl: kMaplyWideVecImplPerf ] @@ -265,9 +265,9 @@ class OurMaplyViewController: MaplyViewController { if isReport { // For reports, position, start and end sizes must be different switch i { - case markers.startIndex: size = 50.0 - case markers.endIndex - 1: size = 50.0 - default: size = 26.0 + case markers.startIndex: size = 40.0 + case markers.endIndex - 1: size = 40.0 + default: size = 22.0 } } screenMarker.size = CGSize(width: size, height: size) |