浏览代码

fix:优化高德地图

“HeShaoZe” 4 月之前
父节点
当前提交
3783e81587
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      plugins/map_amap_ios/ios/Classes/MapAmapContentView/MapAmapThemeControl.swift

+ 2 - 0
plugins/map_amap_ios/ios/Classes/MapAmapContentView/MapAmapThemeControl.swift

@@ -55,6 +55,8 @@ class MapAmapThemeControl: UIViewController {
         }
         
         map.delegate = self
+        map.isRotateCameraEnabled = false
+        map.isRotateEnabled = false
         map.mapType = .standard
         map.showsUserLocation = false
         map.userTrackingMode = .none