[map-sdk]自车缩放问题

This commit is contained in:
wangyanjun
2023-12-08 15:58:08 +08:00
parent 62fd8336d6
commit 072180b507
3 changed files with 5 additions and 5 deletions

View File

@@ -81,7 +81,7 @@ MOGO_LOCATION_VERSION=1.4.7.20
MOGO_TELEMATIC_VERSION=1.4.7.20
######## MogoAiCloudSDK Version ########
# 自研地图
MAP_SDK_VERSION=3.3.0.10
MAP_SDK_VERSION=3.3.2.1
MAP_SDK_DATA_VERSION=1.0.0.7
MAP_SDK_OPERATION_VERSION=1.1.4.1
# websocket

View File

@@ -709,7 +709,7 @@ class MapController(private var context: Context?, private val mMapView: IMapVie
if(!isSurfaceCreated()) {
return
}
setMarkerScale()
// setMarkerScale()
val currentZoom = zoomIndex
if (DEBUG) {
Log.d(TAG, "styleop--dispatchZoomChanged: currentZoom:${currentZoom},lastZoom:${lastZoom} ${mMapView.isTouching()}")

View File

@@ -63,7 +63,7 @@ class MarkerOptions {
@JSONField(name = "alpha")
private var alpha: Float = 1.0F
var scale: Float = 0.7F
var scale: Float = 1F
private var offsetX: Int = 0
private var offsetY: Int = 0
var period: Int = 0
@@ -138,7 +138,7 @@ class MarkerOptions {
id=""
offsetX = 0
offsetY = 0
scale = 0.7f
scale = 1f
anchorColor = ""
rotateAngle = 0f
visible = true
@@ -584,7 +584,7 @@ class MarkerOptions {
}
fun scale(scale: Float): MarkerOptions {
this.scale = 0.7f*scale
this.scale = scale
return this
}