Fixed Marking location with Mark Location Button
closes #59 Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user