高德地图SDK(导航) V11.2.0501
Loading...
Searching...
No Matches
MAMapView(AMapCarPlay) Category Reference

#include <AMapNavi+AMapCarPlay.h>

Instance Methods

(instancetype) - initWithFrame:carPlay:
 

Method Documentation

◆ initWithFrame:carPlay:

- (instancetype) initWithFrame: (CGRect)  frame
carPlay: (BOOL)  isCarPlay 

初始化地图实例 Initialize map instance

  • Parameters:
    • frame: 地图frame Map frame
    • isCarPlay: 是否为CarPlay页面的地图,设置为YES时,会对地图做CarPlay的UI适配处理 Whether it is a map for the CarPlay page. When set to YES, the map will be adapted for CarPlay UI. 注意:CarPlay功能是商业付费功能,需要先联系商务开通权限后才可正常使用 Note: CarPlay is a paid commercial feature that requires contacting the business department to activate permissions before it can be used normally 该拓展类为CarPlay场景专用,由此方法创建的地图对象,传递给导航自定义View(AMapNaviDriveView或AMapNaviRideView)后,导航自定义View会对地图 This extension class is specifically designed for CarPlay scenarios. The map object created by this method, when passed to the navigation custom View (AMapNaviDriveView or AMapNaviRideView), will affect the map 对象持续得做展示范围控制等UI操作,为避免地图对象操控冲突,应尽量避免直接使用该地图对象做UI操作(如zoom调整,中心移动等) The map object continuously performs UI operations such as view range control. To avoid conflicts in map manipulation, direct use of this map object for UI operations (e.g., zoom adjustment, center movement) should be avoided as much as possible.

The documentation for this category was generated from the following file:
© 2017 高德信息技术有限公司 版权所有,保留所有权利。