From 3d93d742c9dc05ff103a16739c08315ebb680a15 Mon Sep 17 00:00:00 2001 From: Isidro Henoch Date: Tue, 4 Jan 2022 01:49:21 -0600 Subject: Finishes the markers functionality --- .../main/java/mx/trackermap/TrackerMap/android/map/UnitMapFragment.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/UnitMapFragment.kt') 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() { -- cgit v1.2.3