mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-03-14 11:56:59 -04:00
change waypoint icons & add description
This commit is contained in:
@@ -130,12 +130,9 @@ class MapFragment : ScreenFragment("Map"), Logging {
|
||||
val label = it.name + " " + formatAgo(it.expire)
|
||||
marker = MarkerWithLabel(map, label)
|
||||
marker.title = it.name
|
||||
marker.snippet = it.description
|
||||
marker.setAnchor(Marker.ANCHOR_CENTER, Marker.ANCHOR_BOTTOM)
|
||||
marker.position = GeoPoint(it.latitudeI.toDouble(), it.longitudeI.toDouble())
|
||||
marker.icon = ContextCompat.getDrawable(
|
||||
requireActivity(),
|
||||
R.drawable.ic_baseline_location_on_24
|
||||
)
|
||||
}
|
||||
marker
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user