From ea1863d4b7e6d09d0dc83eba47cbc1c4965b3bfd Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Tue, 4 Jan 2022 18:42:13 -0600 Subject: Fully implemented UnitMapFragment layout, moved MarkerType to commonMain and removed unnecessary content description warnings. --- .../main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt') diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt index 106a2d9..4298058 100644 --- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt +++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt @@ -24,17 +24,13 @@ import com.mousebird.maply.SphericalMercatorCoordSystem import java.io.File import kotlinx.coroutines.DelicateCoroutinesApi import mx.trackermap.TrackerMap.android.R +import mx.trackermap.TrackerMap.utils.MarkerType typealias MarkerCallback = (Int?) -> Unit @DelicateCoroutinesApi class MapFragment : GlobeMapFragment() { - enum class MarkerType { - ANIMAL, BICYCLE, BOAT, BUS, CAR, CRANE, DEFAULT, HELICOPTER, MOTORCYCLE, OFFROAD, PERSON, - PICKUP, PLANE, SCOOTER, SHIP, TRACTOR, TRAIN, TRAM, TROLLEYBUS, TRUCK, VAN - } - data class Marker( val id: Int, val latitude: Double, -- cgit v1.2.3