高德SDK服务类
More...
#include <AMapServices.h>
◆ getRegionLanguageCode
| - (NSString *) getRegionLanguageCode |
|
|
|
获取regionLanguageType对应的anguageCode
◆ sharedServices
◆ analysisAgree
用户是否同意数据用于统计分析。默认为YES。since 1.8.7 Whether the user agrees to use data for statistical analysis. Default: YES. Since 1.8.7
◆ apiKey
APIkey。设置key,需要在高德官网控制台绑定对应的bundleid。
◆ countryCode
| - (NSString*) countryCode |
|
readwritenonatomiccopy |
国家代码属性 country code property
◆ crashReportEnabled
| - (BOOL) crashReportEnabled |
|
readwritenonatomicassign |
是否启用崩溃日志上传。默认为YES, 只有在真机上设置有效。
开启崩溃日志上传有助于我们更好的了解SDK的状况,可以帮助我们持续优化和改进SDK。需要注意的是,SDK内部是通过设置NSUncaughtExceptionHandler来捕获异常的,如果您的APP中使用了其他收集崩溃日志的SDK,或者自己有设置NSUncaughtExceptionHandler的话,请保证 AMapServices 的初始化是在其他设置NSUncaughtExceptionHandler操作之后进行的,我们的handler会再处理完异常后调用前一次设置的handler,保证之前设置的handler会被执行。
◆ enableHTTPS
是否开启HTTPS,从1.3.3版本开始默认为YES。
◆ enableRTLLayout
是否启用从右向左(RTL)布局,默认为AMapAttributeRTLStateDefault Whether to enable right-to-left (RTL) layout, default is AMapAttributeRTLStateDefault
◆ identifier
◆ latitude
当前位置纬度。since 1.8.7 Current location latitude. Since 1.8.7
◆ longitude
当前位置经度。since 1.8.7 Current location longitude. Since 1.8.7
◆ regionLanguageType
语言类型属性 language type property
◆ securityAgree
用户是否同意数据用于安全保障。默认为YES。since 1.8.7 Whether the user agrees to use data for security assurance. Default: YES. Since 1.8.7
The documentation for this class was generated from the following file: