Fixed Marking location with Mark Location Button

closes #59

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
2012-05-18 12:50:38 -04:00
parent 11fe8becc6
commit 35071d8aee

View File

@@ -95,7 +95,7 @@ public class LocationInfomationFragment extends Fragment implements GeoPointLoca
switch (v.getId()){ switch (v.getId()){
case R.id.mark_my_location: case R.id.mark_my_location:
if(this.mPoint != null){ if(this.mPoint != null){
this.mRadiusOverlay.setLocation(mPoint); onLocationSelected(mPoint);
this.mMap.setMapCenter(mPoint); this.mMap.setMapCenter(mPoint);
} }
break; break;
@@ -131,8 +131,6 @@ public class LocationInfomationFragment extends Fragment implements GeoPointLoca
@Override @Override
public void onLocationChanged(GeoPoint point, int accuracy) { public void onLocationChanged(GeoPoint point, int accuracy) {
this.mPoint = point; this.mPoint = point;
} }
/* /*