diff options
author | Iván Ávalos <avalos@disroot.org> | 2023-09-21 20:46:37 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2023-09-21 20:46:37 -0600 |
commit | 6b6b521c157dfe03797b1dec64f8a615e73a8dfa (patch) | |
tree | b14ea8b0b7be260e548566e8afb4a985d4d191c0 /iosApp/iosApp/Shared/Constants.swift | |
parent | 9f9c6b247900a3a08e2b2322896d4f185a12d047 (diff) | |
download | etbsa-trackermap-mobile-6b6b521c157dfe03797b1dec64f8a615e73a8dfa.tar.gz etbsa-trackermap-mobile-6b6b521c157dfe03797b1dec64f8a615e73a8dfa.tar.bz2 etbsa-trackermap-mobile-6b6b521c157dfe03797b1dec64f8a615e73a8dfa.zip |
- [ios] Add direction arrows to reports.
- [ios] Use scales for marker sizes and labels.
- [ios] Fix builds in Xcode 15.
Diffstat (limited to 'iosApp/iosApp/Shared/Constants.swift')
-rw-r--r-- | iosApp/iosApp/Shared/Constants.swift | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/iosApp/iosApp/Shared/Constants.swift b/iosApp/iosApp/Shared/Constants.swift new file mode 100644 index 0000000..de82b0b --- /dev/null +++ b/iosApp/iosApp/Shared/Constants.swift @@ -0,0 +1,19 @@ +// +// Constants.swift +// iosApp +// +// Created by Ivan Avalos on 21/09/23. +// Copyright © 2023 orgName. All rights reserved. +// + +import Foundation +import UIKit + +struct Constants { + static var markerSize = 14.0 * UIScreen.main.scale + static var vertexsize = 8.0 * UIScreen.main.scale + static var markerLabelTextSize = UIFont.smallSystemFontSize + static var geofenceLabelTextSize = UIFont.smallSystemFontSize + static var geofenceLineWidth = 4.0 * UIScreen.main.scale + static var reportLineWidth = 4.0 * UIScreen.main.scale +} |