This commit is contained in:
wangcongtao
2021-01-29 18:31:34 +08:00
parent e90e299b95
commit 50c30eeea1
4 changed files with 24 additions and 1 deletions

View File

@@ -123,6 +123,7 @@ class BaseDrawer {
mSpeedView.setLayoutParams( new ViewGroup.LayoutParams( ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT ) );
}
mSpeedView.setText( String.valueOf( ( ( int ) ( speed * 3.6 ) ) ) );
mogoMarker.setInfoWindowOffset( 0, 20 );
mogoMarker.updateInfoWindowView( mSpeedView );
} else {
mogoMarker.hideInfoWindow();