diff options
| author | Claude <noreply@anthropic.com> | 2026-05-20 20:28:14 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-05-20 20:28:14 +0000 |
| commit | b3e8370e278cd9c4f822453a0a7bae05dd0ca729 (patch) | |
| tree | 384f635185f02fc5aaf11a3b274a6c56810fe928 /android-app/app/src/main | |
| parent | cbfd75683e1aedf408d9cc2df1b79c1fc36bd084 (diff) | |
Dim past tracks: dark navy 0.12 opacity, solid lines
https://claude.ai/code/session_01YUbuZNDAoLea4cf9UGQ9qn
Diffstat (limited to 'android-app/app/src/main')
| -rw-r--r-- | android-app/app/src/main/kotlin/org/terst/nav/ui/MapHandler.kt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/android-app/app/src/main/kotlin/org/terst/nav/ui/MapHandler.kt b/android-app/app/src/main/kotlin/org/terst/nav/ui/MapHandler.kt index 32b3643..1a0b9b6 100644 --- a/android-app/app/src/main/kotlin/org/terst/nav/ui/MapHandler.kt +++ b/android-app/app/src/main/kotlin/org/terst/nav/ui/MapHandler.kt @@ -323,10 +323,11 @@ class MapHandler(private val maplibreMap: MapLibreMap) { style.addSource(trackPastSource!!) style.addLayer(LineLayer(TRACK_PAST_LAYER_ID, TRACK_PAST_SOURCE_ID).apply { setProperties( - PropertyFactory.lineColor("#E53935"), - PropertyFactory.lineWidth(3f), - PropertyFactory.lineDasharray(arrayOf(1f, 2f)), - PropertyFactory.lineCap("round") + PropertyFactory.lineColor("#0B3050"), + PropertyFactory.lineOpacity(0.12f), + PropertyFactory.lineWidth(2.5f), + PropertyFactory.lineCap("round"), + PropertyFactory.lineJoin("round") ) }) } |
