UI opt & bugfix
This commit is contained in:
@@ -864,7 +864,7 @@ public class MapMarkerManager implements IMogoMarkerClickListener,
|
||||
float distance = Utils.calculateLineDistance( lastLon, lastLat, lng, lat );
|
||||
lastLon = lng;
|
||||
lastLat = lat;
|
||||
if ( distance < 0.5f ) {// 距离过短,认为静止不动
|
||||
if ( distance < 0.2f ) {// 距离过短,认为静止不动
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
@@ -24,8 +24,6 @@ import com.mogo.module.service.ServiceConst;
|
||||
public class MapMarkerView extends MapMarkerBaseView {
|
||||
private String TAG = "MapMarkerView";
|
||||
|
||||
private ImageView ivBg;
|
||||
|
||||
public MapMarkerView( Context context ) {
|
||||
super( context );
|
||||
}
|
||||
@@ -48,7 +46,6 @@ public class MapMarkerView extends MapMarkerBaseView {
|
||||
LayoutInflater.from( context ).inflate( R.layout.view_map_marker, this );
|
||||
ivIcon = findViewById( R.id.ivIcon );
|
||||
ivCar = findViewById( R.id.ivCar );
|
||||
ivBg = findViewById( R.id.ivBg );
|
||||
}
|
||||
|
||||
public void updateView( MarkerShowEntity markerShowEntity ) {
|
||||
|
||||
Reference in New Issue
Block a user