[6.7.0][Opt]行程总览页右下角小图标加阴影

This commit is contained in:
chenfufeng
2024-09-27 15:08:51 +08:00
parent 02ba6e7905
commit 3eda2a0ffd
4 changed files with 78 additions and 33 deletions

View File

@@ -447,6 +447,8 @@ class TravelRealityView @JvmOverloads constructor(
)
// 设置自定义样式
mAMap?.setCustomMapStyle(customMapStyleOptions1)
mAMap?.uiSettings?.isZoomControlsEnabled = false
mAMap?.uiSettings?.setLogoBottomMargin(-150)
}
mAMap?.setAMapGestureListener(gestListener)
}
@@ -468,7 +470,7 @@ class TravelRealityView @JvmOverloads constructor(
//设置希望展示的地图缩放级别
val loc = CallerChassisLocationGCJ02ListenerManager.getChassisLocationGCJ02()
if (loc.latitude.toInt() == 0 || loc.longitude.toInt() == 0) {
moveMapCamera(CameraUpdateFactory.zoomTo(14f))
moveMapCamera(CameraUpdateFactory.zoomTo(17f))
} else {
moveMapCamera(CameraUpdateFactory.newLatLngZoom(
coordinateConverterWgsToGcj(
@@ -540,7 +542,7 @@ class TravelRealityView @JvmOverloads constructor(
if (AppIdentityModeUtils.isDriver(FunctionBuildConfig.appIdentityMode)) {
if (isSmallMap) {
this.outlineProvider = TextureVideoViewOutlineProvider(
AutoSizeUtils.dp2px(context, 32f)
AutoSizeUtils.dp2px(context, 38f)
.toFloat()
)
this.clipToOutline = true