diff --git a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/OverMapView.kt b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/OverMapView.kt index cd64f3d899..fbd634cfa3 100644 --- a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/OverMapView.kt +++ b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/OverMapView.kt @@ -591,7 +591,7 @@ class OverMapView @JvmOverloads constructor( ) } markerOption.position(latLng) - markerOption.anchor(0.13f, 1f) + markerOption.anchor(0f, 1f) markerOption.icon( BitmapDescriptorFactory.fromBitmap( getV2XBitmap( @@ -615,7 +615,7 @@ class OverMapView @JvmOverloads constructor( val marker = V2XMarkerView(context, null, 0, poiType) marker.measure( MeasureSpec.makeMeasureSpec(AutoSizeUtils.dp2px(mContext, 229f), MeasureSpec.EXACTLY), - MeasureSpec.makeMeasureSpec(AutoSizeUtils.dp2px(mContext, 96f), MeasureSpec.EXACTLY) + MeasureSpec.makeMeasureSpec(AutoSizeUtils.dp2px(mContext, 115f), MeasureSpec.EXACTLY) ) marker.layout(0, 0, marker.measuredWidth, marker.measuredHeight) val bitmap = Bitmap.createBitmap(marker.width, marker.height, Bitmap.Config.ARGB_8888) diff --git a/core/function-impl/mogo-core-function-map/src/main/res/layout/layout_v2x_maker.xml b/core/function-impl/mogo-core-function-map/src/main/res/layout/layout_v2x_maker.xml index d105f5057d..b84362305c 100644 --- a/core/function-impl/mogo-core-function-map/src/main/res/layout/layout_v2x_maker.xml +++ b/core/function-impl/mogo-core-function-map/src/main/res/layout/layout_v2x_maker.xml @@ -1,7 +1,7 @@ @@ -12,7 +12,7 @@ android:layout_height="64dp" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" - android:layout_marginTop="8dp" + android:layout_marginTop="7dp" android:layout_marginStart="11dp" android:background="@drawable/icon_small_v2x_road_construction" android:visibility="visible" @@ -20,14 +20,15 @@