[6.2.0] fix handler thread of map cost
This commit is contained in:
@@ -66,8 +66,10 @@ class MapController(private var context: Context?, private val mMapView: IMapVie
|
||||
private var mMapPerspective = MAP_PERSPECTIVE_2D
|
||||
private var isFollowCarMode = true
|
||||
private var isMapNorth = false
|
||||
@Volatile
|
||||
private var lastZoom = 16
|
||||
private var lonLat: LonLat? = null
|
||||
@Volatile
|
||||
private var isSetMapStyle = false
|
||||
private var mRoamDis = ConstantExt.ROAM_DIS_1KM
|
||||
private var mSpeed = ConstantExt.ROAM_SPEED_30
|
||||
@@ -829,6 +831,7 @@ class MapController(private var context: Context?, private val mMapView: IMapVie
|
||||
mMapView.getMapEngine().setRotateAngle(rotation)
|
||||
}
|
||||
|
||||
@Volatile
|
||||
var mMapStyleMode = 0
|
||||
|
||||
//设置地图风格
|
||||
|
||||
@@ -56,6 +56,7 @@ class MapStyleParams: IMapStyleParams {
|
||||
* const val MAP_STYLE_DAY_NAV = 3 //日间导航模式
|
||||
* const val MAP_STYLE_NIGHT_NAV = 4 //夜间导航模式
|
||||
*/
|
||||
@Volatile
|
||||
private var styleMode: Int = MapAutoApi.MAP_STYLE_NIGHT_VR
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user