[6.5.0_tmp] mapautoview add volitile
This commit is contained in:
@@ -50,6 +50,7 @@ open class MapAutoView : FrameLayout, LonLatPointListener, ITraffic,ILockLocatio
|
||||
}
|
||||
|
||||
//The instance of MapView
|
||||
@Volatile
|
||||
private var mMapView: MapView? = null
|
||||
//The instance of IMapStyleParams
|
||||
private var mMapStyleParams: IMapStyleParams? = null
|
||||
@@ -64,6 +65,7 @@ open class MapAutoView : FrameLayout, LonLatPointListener, ITraffic,ILockLocatio
|
||||
//The view of location
|
||||
protected var mLocationView: ILocationView? = null
|
||||
//The helper of MapView
|
||||
@Volatile
|
||||
private var mMapAutoViewHelper: MapAutoViewHelper? = null
|
||||
|
||||
//Longitude
|
||||
@@ -1095,7 +1097,7 @@ open class MapAutoView : FrameLayout, LonLatPointListener, ITraffic,ILockLocatio
|
||||
mDeviationAngle = deviationAngle
|
||||
}
|
||||
fun getMapView():MapView?{
|
||||
return mMapView;
|
||||
return mMapView
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user