소스 검색

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