aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/UnitMapFragment.kt
diff options
context:
space:
mode:
authorIsidro Henoch <imhenoch@protonmail.com>2022-01-04 01:49:21 -0600
committerIsidro Henoch <imhenoch@protonmail.com>2022-01-04 01:49:21 -0600
commit3d93d742c9dc05ff103a16739c08315ebb680a15 (patch)
tree108ad1273b335eeee02280f59df6b266e87ff6ce /androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/UnitMapFragment.kt
parent6168604aa62be4bc547a6d0e1a26ef786d748c77 (diff)
downloadetbsa-trackermap-mobile-3d93d742c9dc05ff103a16739c08315ebb680a15.tar.gz
etbsa-trackermap-mobile-3d93d742c9dc05ff103a16739c08315ebb680a15.tar.bz2
etbsa-trackermap-mobile-3d93d742c9dc05ff103a16739c08315ebb680a15.zip
Finishes the markers functionality
Diffstat (limited to 'androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/UnitMapFragment.kt')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/UnitMapFragment.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/UnitMapFragment.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/UnitMapFragment.kt
index 4a0fab2..b8f79dd 100644
--- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/UnitMapFragment.kt
+++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/UnitMapFragment.kt
@@ -40,6 +40,7 @@ class UnitMapFragment : Fragment() {
private fun initializeMap() {
unitsMapFragment = childFragmentManager.findFragmentById(R.id.unitsMap) as MapFragment
+ unitsMapFragment.markerCallback = unitsViewModel::selectUnitWith
}
private fun setupObservers() {