aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/java/mx/trackermap/TrackerMap
diff options
context:
space:
mode:
Diffstat (limited to 'androidApp/src/main/java/mx/trackermap/TrackerMap')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt10
1 files changed, 9 insertions, 1 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 fa0a56e..f87d89a 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
@@ -145,13 +145,21 @@ class MapFragment : GlobeMapFragment() {
screenMarker.size = markerSize
screenMarker.userObject = marker.id
screenMarker.selectable = true
+ if (!isReport) {
+ screenMarker.layoutImportance = 1.0f
+ }
screenMarker
}
+ val markerInfo = MarkerInfo()
+ if (!isReport) {
+ markerInfo.setClusterGroup(0)
+ }
+
objects.add(mapControl.addScreenMarkers(
screenMarkers,
- MarkerInfo(),
+ markerInfo,
ThreadMode.ThreadAny
))