UI opt & bugfix

This commit is contained in:
wangcongtao
2020-06-17 11:39:05 +08:00
parent 8a7a93393b
commit f71008c350
15 changed files with 52 additions and 47 deletions

View File

@@ -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;
}

View File

@@ -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 ) {