From 58c8eea2853c52d652d9d3f004abc33ab995a67f Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Fri, 24 Jun 2011 09:53:46 +0200 Subject: [PATCH] Remove unused code --- OsmAnd/res/drawable/location_default.png | Bin 0 -> 3810 bytes OsmAnd/res/drawable/location_direction.png | Bin 0 -> 4249 bytes .../osmand/plus/views/PointNavigationLayer.java | 2 -- 3 files changed, 2 deletions(-) create mode 100644 OsmAnd/res/drawable/location_default.png create mode 100644 OsmAnd/res/drawable/location_direction.png diff --git a/OsmAnd/res/drawable/location_default.png b/OsmAnd/res/drawable/location_default.png new file mode 100644 index 0000000000000000000000000000000000000000..78bfbddeb2449ea0db0e83221df8abe4ea5112ed GIT binary patch literal 3810 zcmV<84ju7{P)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQ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XPK%@Rh~b0-1*J1ukZA9cOA}TGiLzw14y$PeGYfhd_XG4kOx2+XH=cb?RmFl z>poi7{8G?e=rf4^EkCAtZxV+?RVyl-&XtXRkJqD>Umd(y(cXS|{N#!Di!;&aQ2-YK zg!wgt-D$|KoC`>B8W*$6o?@sMRyXb1+`4VwwTjBd6odfeK1hH`AR>aI0DhmVprPJZ zytqoOOeV(s9UX196DPmDe7V2>D*(p_%&)CJVg=AjRiEI6S)E$>)dq-(a~+wugv z$v_$QeH?)MnRQ!fc|(IS8BPdYCy4)4837>#grdMOGGaP1=IHDFt7Ih5?Y$MeQl@E9 z%`j6vhLO3%aVp0Y@&U=cN@pm;UFcc4rRBw}q9|kPStZWNlC@TD+dS5>1MpQ<)<0iUy>ar#vqy`&dpjzF!GY35 zB0`#$Oad5{ED__cpJADn#!;3SfCM*TD^OkwDGWpankyisf-hN&?Buu?)$(Nm!^3B>-FnP{pp) z*m_z1`lw_L86+ct=yO2O{q8#CVwhn7ja`-E=ShkkYi!7FF)bE(plwi&-r&h|3-%0W zo!sZrQf$aUYX0A4>wG{Y^)N*ONb{I1J#Maw`%s(6`I>81Qm$I=84|>Ot(70fLa^*g v^?B|;@-1~f3n7m(%5(k54)LV@9rMosP|f{1oaBuW00000NkvXXu0mjf!d2^p literal 0 HcmV?d00001 diff --git a/OsmAnd/src/net/osmand/plus/views/PointNavigationLayer.java b/OsmAnd/src/net/osmand/plus/views/PointNavigationLayer.java index 01244346f2..d79c1f0ec2 100644 --- a/OsmAnd/src/net/osmand/plus/views/PointNavigationLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/PointNavigationLayer.java @@ -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(),