diff options
| author | Claudomator Agent <agent@claudomator> | 2026-03-15 14:20:21 +0000 |
|---|---|---|
| committer | Claudomator Agent <agent@claudomator> | 2026-03-15 14:20:21 +0000 |
| commit | ff5854b75f2ba7c77d467fd9523e2a23060a7c46 (patch) | |
| tree | aa5212db097ef6dbdd024e2f41387acde8b8b085 /android-app/app/src/main/res | |
| parent | 13e4e30f351f06bda23a45b36c05970d1ef2c692 (diff) | |
feat: integrate AIS into ViewModel and MapFragment with vessel symbol layer
- MainViewModel: add _aisTargets StateFlow, processAisSentence(), refreshAisFromInternet()
- AisRepository: add ingestVessel() for internet-sourced vessels
- MapFragment: add AIS vessel SymbolLayer with heading-based rotation and zoom-gated labels
- MainActivity: add startAisHardwareFeed() TCP stub, wire viewModel
- ic_ship_arrow.xml: new vector drawable for AIS target icons
- MainViewModelTest: 3 new AIS tests (processAisSentence happy path, dedup, non-AIS sentence)
- JVM test harness: /tmp/ais-vm-test-runner/ — 3 tests GREEN
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'android-app/app/src/main/res')
| -rw-r--r-- | android-app/app/src/main/res/drawable/ic_ship_arrow.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/android-app/app/src/main/res/drawable/ic_ship_arrow.xml b/android-app/app/src/main/res/drawable/ic_ship_arrow.xml new file mode 100644 index 0000000..68e8667 --- /dev/null +++ b/android-app/app/src/main/res/drawable/ic_ship_arrow.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24" + android:viewportHeight="24"> + <path + android:fillColor="#FF4081" + android:pathData="M12,2 L17,20 L12,17 L7,20 Z"/> +</vector> |
