Remove unused code

This commit is contained in:
Victor Shcherb 2011-06-24 09:53:46 +02:00
parent a1bb5ccf23
commit 58c8eea285
3 changed files with 0 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View file

@ -62,8 +62,6 @@ public class PointNavigationLayer implements OsmandMapLayer {
int locationX = view.getMapXForPoint(pointToNavigate.getLongitude()); int locationX = view.getMapXForPoint(pointToNavigate.getLongitude());
int locationY = view.getMapYForPoint(pointToNavigate.getLatitude()); int locationY = view.getMapYForPoint(pointToNavigate.getLatitude());
canvas.rotate(-view.getRotate(), locationX, locationY); 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); canvas.drawBitmap(targetPoint, locationX - marginX, locationY - marginY, point);
} else { } else {
Location.distanceBetween(view.getLatitude(), view.getLongitude(), pointToNavigate.getLatitude(), Location.distanceBetween(view.getLatitude(), view.getLongitude(), pointToNavigate.getLatitude(),