cleanups
This commit is contained in:
parent
fcc53630a6
commit
82eb60e2a9
@ -26,13 +26,12 @@ import org.oscim.view.MapView;
|
|||||||
|
|
||||||
import android.graphics.Color;
|
import android.graphics.Color;
|
||||||
import android.graphics.Paint.Cap;
|
import android.graphics.Paint.Cap;
|
||||||
import android.util.Log;
|
|
||||||
|
|
||||||
public class GridOverlay extends BasicOverlay {
|
public class GridOverlay extends BasicOverlay {
|
||||||
|
|
||||||
private float[] mPoints;
|
private final float[] mPoints;
|
||||||
private short[] mIndex;
|
private final short[] mIndex;
|
||||||
private Text mText;
|
private final Text mText;
|
||||||
|
|
||||||
public GridOverlay(MapView mapView) {
|
public GridOverlay(MapView mapView) {
|
||||||
super(mapView);
|
super(mapView);
|
||||||
@ -103,11 +102,6 @@ public class GridOverlay extends BasicOverlay {
|
|||||||
|
|
||||||
private boolean finished;
|
private boolean finished;
|
||||||
|
|
||||||
void timerFinished() {
|
|
||||||
Log.d("...", "timer finish!");
|
|
||||||
finished = true;
|
|
||||||
mMapView.redrawMap(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public synchronized void update(MapPosition curPos, boolean positionChanged,
|
public synchronized void update(MapPosition curPos, boolean positionChanged,
|
||||||
@ -138,8 +132,6 @@ public class GridOverlay extends BasicOverlay {
|
|||||||
ll.width = 1.5f;
|
ll.width = 1.5f;
|
||||||
ll.addLine(mPoints, mIndex, false);
|
ll.addLine(mPoints, mIndex, false);
|
||||||
|
|
||||||
Log.d("...", "update labels");
|
|
||||||
|
|
||||||
addLabels(x, y, mCurZ);
|
addLabels(x, y, mCurZ);
|
||||||
|
|
||||||
newData = true;
|
newData = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user