diff --git a/app/src/main/java/com/geeksville/mesh/ui/map/MapFragment.kt b/app/src/main/java/com/geeksville/mesh/ui/map/MapFragment.kt index 44aa7eef5..087052e12 100644 --- a/app/src/main/java/com/geeksville/mesh/ui/map/MapFragment.kt +++ b/app/src/main/java/com/geeksville/mesh/ui/map/MapFragment.kt @@ -157,10 +157,14 @@ fun MapView(model: UIViewModel = viewModel()) { myLocationOverlay = MyLocationNewOverlay(this).apply { enableMyLocation() enableFollowLocation() - AppCompatResources.getDrawable(context, R.drawable.ic_location_dot_24)?.let { + AppCompatResources.getDrawable(context, R.drawable.ic_map_location_dot_24)?.let { setPersonIcon(it.toBitmap()) setPersonAnchor(0.5f, 0.5f) } + AppCompatResources.getDrawable(context, R.drawable.ic_map_navigation_24)?.let { + setDirectionIcon(it.toBitmap()) + setDirectionAnchor(0.5f, 0.5f) + } } overlays.add(myLocationOverlay) } else { diff --git a/app/src/main/res/drawable/ic_location_dot_24.xml b/app/src/main/res/drawable/ic_map_location_dot_24.xml similarity index 91% rename from app/src/main/res/drawable/ic_location_dot_24.xml rename to app/src/main/res/drawable/ic_map_location_dot_24.xml index 74531932f..2fb6587cc 100644 --- a/app/src/main/res/drawable/ic_location_dot_24.xml +++ b/app/src/main/res/drawable/ic_map_location_dot_24.xml @@ -6,6 +6,6 @@ diff --git a/app/src/main/res/drawable/ic_map_navigation_24.xml b/app/src/main/res/drawable/ic_map_navigation_24.xml new file mode 100644 index 000000000..6557bb984 --- /dev/null +++ b/app/src/main/res/drawable/ic_map_navigation_24.xml @@ -0,0 +1,11 @@ + + +