aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-04 18:42:13 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-04 18:44:37 -0600
commitea1863d4b7e6d09d0dc83eba47cbc1c4965b3bfd (patch)
treea2241ce7b26fba8bd5470b4e3b3ca8565af19619 /androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt
parent3d93d742c9dc05ff103a16739c08315ebb680a15 (diff)
downloadetbsa-trackermap-mobile-ea1863d4b7e6d09d0dc83eba47cbc1c4965b3bfd.tar.gz
etbsa-trackermap-mobile-ea1863d4b7e6d09d0dc83eba47cbc1c4965b3bfd.tar.bz2
etbsa-trackermap-mobile-ea1863d4b7e6d09d0dc83eba47cbc1c4965b3bfd.zip
Fully implemented UnitMapFragment layout, moved MarkerType to commonMain and removed unnecessary content description warnings.
Diffstat (limited to 'androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt6
1 files changed, 1 insertions, 5 deletions
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,