Commit 764885ba authored by Qiu Xiang's avatar Qiu Xiang

onStatusChange 参数 zoom 统一为 zoomLevel

parent 14cc31f6
......@@ -110,7 +110,7 @@ class AMapView(context: Context) : MapView(context) {
fun emitCameraChangeEvent(event: String, position: CameraPosition?) {
position?.let {
val data = Arguments.createMap()
data.putDouble("zoom", it.zoom.toDouble())
data.putDouble("zoomLevel", it.zoom.toDouble())
data.putDouble("tilt", it.tilt.toDouble())
data.putDouble("rotation", it.bearing.toDouble())
data.putDouble("latitude", it.target.latitude)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment