Skip to content
Permalink
Browse files

Merge pull request #1532 from osmdroid/feature/#1530_2

feature/#1530_2 - more visible icon for MyLocationNewOverlay
  • Loading branch information
monsieurtanuki committed Mar 24, 2020
2 parents 0e4a8f6 + 5e7fa35 commit 34427217a780dc615b517494cee7c9582e9aad6f
@@ -107,7 +107,7 @@ public MyLocationNewOverlay(IMyLocationProvider myLocationProvider, MapView mapV


setDirectionArrow(((BitmapDrawable)mapView.getContext().getResources().getDrawable(R.drawable.person)).getBitmap(),
((BitmapDrawable)mapView.getContext().getResources().getDrawable(R.drawable.round_navigation_white_48)).getBitmap());
((BitmapDrawable)mapView.getContext().getResources().getDrawable(R.drawable.twotone_navigation_black_48)).getBitmap());

// Calculate position of person icon's feet, scaled to screen density
mPersonHotspot = new PointF(24.0f * mScale + 0.5f, 39.0f * mScale + 0.5f);

0 comments on commit 3442721

Please sign in to comment.
You can’t perform that action at this time.