Remove unused code
This commit is contained in:
parent
a1bb5ccf23
commit
58c8eea285
3 changed files with 0 additions and 2 deletions
BIN
OsmAnd/res/drawable/location_default.png
Normal file
BIN
OsmAnd/res/drawable/location_default.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
BIN
OsmAnd/res/drawable/location_direction.png
Normal file
BIN
OsmAnd/res/drawable/location_direction.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
|
@ -62,8 +62,6 @@ public class PointNavigationLayer implements OsmandMapLayer {
|
|||
int locationX = view.getMapXForPoint(pointToNavigate.getLongitude());
|
||||
int locationY = view.getMapYForPoint(pointToNavigate.getLatitude());
|
||||
canvas.rotate(-view.getRotate(), locationX, locationY);
|
||||
Drawable drawable = view.getResources().getDrawable(R.drawable.target_point);
|
||||
drawable.draw(canvas);
|
||||
canvas.drawBitmap(targetPoint, locationX - marginX, locationY - marginY, point);
|
||||
} else {
|
||||
Location.distanceBetween(view.getLatitude(), view.getLongitude(), pointToNavigate.getLatitude(),
|
||||
|
|
Loading…
Reference in a new issue