Skip to content

Commit

Permalink
Merge pull request #367 from maghzchenyu/master
Browse files Browse the repository at this point in the history
NEMapKit Bug Fix
  • Loading branch information
shine2008 authored Jan 5, 2023
2 parents f1c5aa8 + 4d194ae commit ee5f073
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion NEMapKit/NEMapKit/Classes/NEMapClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ - (void)setupMapClientWithAppkey:(NSString *)appkey {

- (void)setupMapSdkConfigWithAppkey:(NSString *)appkey {
// 初始化高德SDK
[[AMapServices sharedServices] setApiKey:@"46a3a36bb9d26934a26c6ce2b04aab6f"];
[[AMapServices sharedServices] setApiKey:appkey];
[AMapServices sharedServices].enableHTTPS = YES;
[AMapSearchAPI updatePrivacyShow:AMapPrivacyShowStatusDidShow
privacyInfo:AMapPrivacyInfoStatusDidContain];
Expand Down
1 change: 0 additions & 1 deletion NEMapKit/NEMapKit/Classes/NEMapService.m
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ - (void)setupMapClient {

- (void)setupMapSdkConfig {
// 初始化高德SDK
[[AMapServices sharedServices] setApiKey:@"46a3a36bb9d26934a26c6ce2b04aab6f"];
[AMapServices sharedServices].enableHTTPS = YES;
}

Expand Down
2 changes: 1 addition & 1 deletion Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ target 'app' do
pod 'NECoreKit', '9.3.0'

#扩展库
pod 'NEMapKit', '9.3.0'
pod 'NEMapKit', '9.3.1'


# 如果需要查看UI部分源码请注释掉以上在线依赖,打开下面的本地依赖
Expand Down

0 comments on commit ee5f073

Please sign in to comment.