This commit is contained in:
wangcongtao
2021-02-02 11:18:43 +08:00
parent 50c30eeea1
commit 64b21da1f4
141 changed files with 13652 additions and 3 deletions

View File

@@ -787,6 +787,7 @@ public class AMapViewWrapper implements IMogoMapView,
mSpeedView.setLayoutParams( new ViewGroup.LayoutParams( ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT ) );
}
mSpeedView.setText( String.valueOf( ( ( int ) ( speed * 3.6 ) ) ) );
mSelfMarker.setInfoWindowOffset( 0, 20 );
mSelfMarker.setInfoWindowView( mSpeedView );
} else {
mSelfMarker.hideInfoWindow();