Commit 95752f0d authored by lmj_521aiau@163.com's avatar lmj_521aiau@163.com

map strings

parent d2bee69b
......@@ -75,13 +75,7 @@
A95BD59724AC500A00962B06 /* UIAlertController+HCAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = A95BD58B24AC500A00962B06 /* UIAlertController+HCAdd.m */; };
A95BD59D24ACBF0100962B06 /* Location.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A95BD59F24ACBF0100962B06 /* Location.storyboard */; };
A95BD5AE24AD8E8D00962B06 /* AESCipher.m in Sources */ = {isa = PBXBuildFile; fileRef = A95BD5AC24AD8E8D00962B06 /* AESCipher.m */; };
A95BD5B424AE0BF100962B06 /* BaiduMapAPI_Map.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A95BD5B024AE0BF100962B06 /* BaiduMapAPI_Map.framework */; };
A95BD5B524AE0BF100962B06 /* BaiduMapAPI_Utils.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A95BD5B124AE0BF100962B06 /* BaiduMapAPI_Utils.framework */; };
A95BD5B624AE0BF100962B06 /* BaiduMapAPI_Base.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A95BD5B224AE0BF100962B06 /* BaiduMapAPI_Base.framework */; };
A95BD5B724AE0BF100962B06 /* BaiduMapAPI_Search.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A95BD5B324AE0BF100962B06 /* BaiduMapAPI_Search.framework */; };
A95BD5B924AE0DEE00962B06 /* libsqlite3.0.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = A95BD5B824AE0DEE00962B06 /* libsqlite3.0.tbd */; };
A95BD5BD24AE0EB600962B06 /* libcrypto.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A95BD5BB24AE0EB600962B06 /* libcrypto.a */; };
A95BD5BE24AE0EB600962B06 /* libssl.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A95BD5BC24AE0EB600962B06 /* libssl.a */; };
A95BD5C124AF0EDB00962B06 /* SceneDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = A95BD5BF24AF0EDB00962B06 /* SceneDelegate.m */; };
A95F5C58248DDE81001DB97E /* UIButton+HExtension.m in Sources */ = {isa = PBXBuildFile; fileRef = A95F5BC3248DDE81001DB97E /* UIButton+HExtension.m */; };
A95F5C59248DDE81001DB97E /* NSArray+Category.m in Sources */ = {isa = PBXBuildFile; fileRef = A95F5BC4248DDE81001DB97E /* NSArray+Category.m */; };
......@@ -315,13 +309,7 @@
A95BD5AA24ACBF8500962B06 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Location.strings"; sourceTree = "<group>"; };
A95BD5AC24AD8E8D00962B06 /* AESCipher.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AESCipher.m; sourceTree = "<group>"; };
A95BD5AD24AD8E8D00962B06 /* AESCipher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AESCipher.h; sourceTree = "<group>"; };
A95BD5B024AE0BF100962B06 /* BaiduMapAPI_Map.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = BaiduMapAPI_Map.framework; sourceTree = "<group>"; };
A95BD5B124AE0BF100962B06 /* BaiduMapAPI_Utils.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = BaiduMapAPI_Utils.framework; sourceTree = "<group>"; };
A95BD5B224AE0BF100962B06 /* BaiduMapAPI_Base.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = BaiduMapAPI_Base.framework; sourceTree = "<group>"; };
A95BD5B324AE0BF100962B06 /* BaiduMapAPI_Search.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = BaiduMapAPI_Search.framework; sourceTree = "<group>"; };
A95BD5B824AE0DEE00962B06 /* libsqlite3.0.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.0.tbd; path = usr/lib/libsqlite3.0.tbd; sourceTree = SDKROOT; };
A95BD5BB24AE0EB600962B06 /* libcrypto.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libcrypto.a; sourceTree = "<group>"; };
A95BD5BC24AE0EB600962B06 /* libssl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libssl.a; sourceTree = "<group>"; };
A95BD5BF24AF0EDB00962B06 /* SceneDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SceneDelegate.m; sourceTree = "<group>"; };
A95BD5C024AF0EDB00962B06 /* SceneDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SceneDelegate.h; sourceTree = "<group>"; };
A95F5BBF248DDE80001DB97E /* UIButton+ImageTitleSpacing.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIButton+ImageTitleSpacing.h"; sourceTree = "<group>"; };
......@@ -514,12 +502,6 @@
A95F5CBE248F2506001DB97E /* CoreTelephony.framework in Frameworks */,
A95F5C9E248DE272001DB97E /* Security.framework in Frameworks */,
F38B74CEDB11021979669101 /* Pods_ZhiJi.framework in Frameworks */,
A95BD5BD24AE0EB600962B06 /* libcrypto.a in Frameworks */,
A95BD5B624AE0BF100962B06 /* BaiduMapAPI_Base.framework in Frameworks */,
A95BD5BE24AE0EB600962B06 /* libssl.a in Frameworks */,
A95BD5B424AE0BF100962B06 /* BaiduMapAPI_Map.framework in Frameworks */,
A95BD5B524AE0BF100962B06 /* BaiduMapAPI_Utils.framework in Frameworks */,
A95BD5B724AE0BF100962B06 /* BaiduMapAPI_Search.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
......@@ -807,27 +789,6 @@
path = AESCipher;
sourceTree = "<group>";
};
A95BD5AF24AE0BF100962B06 /* BaiduMap_IOSSDK_Lib */ = {
isa = PBXGroup;
children = (
A95BD5BA24AE0EB600962B06 /* thirdlibs */,
A95BD5B024AE0BF100962B06 /* BaiduMapAPI_Map.framework */,
A95BD5B124AE0BF100962B06 /* BaiduMapAPI_Utils.framework */,
A95BD5B224AE0BF100962B06 /* BaiduMapAPI_Base.framework */,
A95BD5B324AE0BF100962B06 /* BaiduMapAPI_Search.framework */,
);
path = BaiduMap_IOSSDK_Lib;
sourceTree = "<group>";
};
A95BD5BA24AE0EB600962B06 /* thirdlibs */ = {
isa = PBXGroup;
children = (
A95BD5BB24AE0EB600962B06 /* libcrypto.a */,
A95BD5BC24AE0EB600962B06 /* libssl.a */,
);
path = thirdlibs;
sourceTree = "<group>";
};
A95F5BBB248DDE80001DB97E /* Classes */ = {
isa = PBXGroup;
children = (
......@@ -848,7 +809,6 @@
A95F5BBC248DDE80001DB97E /* Tools */ = {
isa = PBXGroup;
children = (
A95BD5AF24AE0BF100962B06 /* BaiduMap_IOSSDK_Lib */,
A95BD57524AC500A00962B06 /* Vendor */,
A9619E8D24AB0E90009A2012 /* ZJLoginManager */,
A9619E8C24AB082D009A2012 /* ShareManager */,
......@@ -1796,7 +1756,7 @@
CODE_SIGN_ENTITLEMENTS = ZhiJi/ZhiJi.entitlements;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 101;
CURRENT_PROJECT_VERSION = 100;
DEVELOPMENT_TEAM = KQ4CS767WC;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
......@@ -1893,7 +1853,7 @@
CODE_SIGN_ENTITLEMENTS = ZhiJi/ZhiJi.entitlements;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 101;
CURRENT_PROJECT_VERSION = 100;
DEBUG_INFORMATION_FORMAT = dwarf;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = KQ4CS767WC;
......
......@@ -322,7 +322,7 @@
- (void)jinJiButtonClick{
NSLog(@"紧急按钮");
ZJJinJiViewController *jinJiVC = [[ZJJinJiViewController alloc] init];
jinJiVC.navigationItem.title = @"紧急报警";
jinJiVC.navigationItem.title = kLocalizedString(@"care_Emergency_alarm");
[self.navigationController pushViewController:jinJiVC animated:YES];
}
......@@ -332,7 +332,8 @@
// alert.callBack = ^{
ZJMemberPayViewController * zhiFuVC = [[UIStoryboard storyboardWithName:@"Pay" bundle:nil] instantiateViewControllerWithIdentifier:@"ZJMemberPayViewController"];
[self.navigationController pushViewController:zhiFuVC animated:YES];
// [self.navigationController pushViewController:zhiFuVC animated:YES];
[self.navigationController presentViewController:zhiFuVC animated:YES completion:nil];
zhiFuVC.payFinish = ^{
[[ZJUserInfoManager shared] updataUserInfo:^(ZJMineUserInfoModel * _Nonnull model) {
[self getHasNewMsg];
......
......@@ -97,25 +97,28 @@
}];
_footer_detailsLab_0 = [[UILabel alloc] init];
_footer_detailsLab_0.text = @"1231231212312312312123123123123123123123123123123123123123123123123123123123123123123123123";
_footer_detailsLab_0.text = kLocalizedString(@"care_footer_details_0");
_footer_detailsLab_0.numberOfLines = 0;
_footer_detailsLab_0.lineBreakMode = NSLineBreakByCharWrapping;
_footer_detailsLab_0.textAlignment = NSTextAlignmentCenter;
[_footer_firstView addSubview:_footer_detailsLab_0];
[_footer_detailsLab_0 mas_makeConstraints:^(MASConstraintMaker *make) {
make.top.mas_equalTo(_footer_firstView).mas_offset(KScaleWidth(20));
make.left.mas_equalTo(_footer_firstView).mas_offset(KScaleWidth(15));
make.right.mas_equalTo(_footer_firstView.mas_right).mas_offset(-KScaleWidth(15));
make.left.right.mas_equalTo(_footer_firstView);
}];
_footer_detailsLab_1 = [[UILabel alloc] init];
_footer_detailsLab_1.text = @"adadadsdasdadasdasdadasdasdasdasdasdasdasdasdasdasdasdasdadad";
_footer_detailsLab_1.text = kLocalizedString(@"care_footer_details_1");
_footer_detailsLab_1.numberOfLines = 0;
_footer_detailsLab_1.lineBreakMode = NSLineBreakByCharWrapping;
_footer_detailsLab_1.textAlignment = NSTextAlignmentCenter;
[_footer_firstView addSubview:_footer_detailsLab_1];
[_footer_detailsLab_1 mas_makeConstraints:^(MASConstraintMaker *make) {
make.top.mas_equalTo(_footer_detailsLab_0.mas_bottom).mas_offset(KScaleWidth(20));
make.left.right.mas_equalTo(_footer_firstView);
make.left.mas_equalTo(_footer_firstView).mas_offset(KScaleWidth(15));
make.right.mas_equalTo(_footer_firstView.mas_right).mas_offset(-KScaleWidth(15));
make.bottom.mas_equalTo(_footer_firstView.mas_bottom).mas_offset(-KScaleWidth(10));
}];
......@@ -431,7 +434,8 @@
// ZJZhiFuViewController *zhiFuVC = [[ZJZhiFuViewController alloc] init];
ZJMemberPayViewController * zhiFuVC = [[UIStoryboard storyboardWithName:@"Pay" bundle:nil] instantiateViewControllerWithIdentifier:@"ZJMemberPayViewController"];
[self.navigationController pushViewController:zhiFuVC animated:YES];
// [self.navigationController pushViewController:zhiFuVC animated:YES];
[self.navigationController presentViewController:zhiFuVC animated:YES completion:nil];
zhiFuVC.payFinish = ^{
[[ZJUserInfoManager shared] updataUserInfo:^(ZJMineUserInfoModel * _Nonnull model) {
......
......@@ -89,6 +89,10 @@
}
- (IBAction)cancelBtnClick:(id)sender{
if (self.presentingViewController) {
[self dismissViewControllerAnimated:YES completion:nil];
return;
}
[self.navigationController popViewControllerAnimated:YES];
}
......
......@@ -205,7 +205,7 @@
//点击有阴影效果 需修改
textview = [[UITextView alloc] initWithFrame:CGRectMake(10, 100, 400, 100)];
textview.attributedText = [self textView:isSelect];
textview.linkTextAttributes = @{NSUnderlineStyleAttributeName:@1, NSUnderlineColorAttributeName:[UIColor blueColor]};
textview.linkTextAttributes = @{NSUnderlineStyleAttributeName:@1, NSUnderlineColorAttributeName:[UIColor blackColor], NSForegroundColorAttributeName:[UIColor blackColor]};
textview.delegate = self;
textview.editable = NO; //必须禁止输入,否则点击将弹出输入键盘
textview.scrollEnabled = NO;
......
......@@ -14,6 +14,7 @@
UIView *_bgView;
UILabel *_biaoTiLabel;
UILabel *_neiRongLabel;
UIScrollView * scrollView;
UITextView *_textView;
UIButton *_lBtn;
......@@ -57,9 +58,8 @@
//neiRongLabel
NSString *str = @" Family Mapp需要双方安装并加好友授权同意,APP付费方即可时刻关注对方的位置信息。\n 注册为Family Mapp会员或接受付费会员的好友邀请意味着 您将向平台和该付费会员提供地理位置,行为轨迹,高度等隐私信息。您正在使用的产品/服务及其功能将会收集、储存和使用您的相关信息,包括但不限于您的GPS定位、设备信息、手机通讯录等,您将受到《用户协议》和《隐私政策》的约束。您点击类似“同意并继续”按钮后或进行主动勾选同 义本协议等操作后,即表示您充分理解隐私政策内 容以及上述描述,并已同意授权平台按照隐私政策 内容合法收集、储存和使用您的个人信息。为保护 您的合法权益,请认真阅读并充分理解《隐私政策》内容。";
NSString *str = @" Family Mapp需要双方安装并加好友授权同意,APP付费方即可时刻关注对方的位置信息。\n 注册为Family Mapp会员或接受付费会员的好友邀请意味着 您将向平台和该付费会员提供地理位置,行为轨迹,高度等隐私信息。您正在使用的产品/服务及其功能将会收集、储存和使用您的相关信息,包括但不限于您的GPS定位、设备信息、手机通讯录等,您将受到《用户协议》和《隐私政策》的约束。您点击类似“同意并继续”按钮后或进行主动勾选同 义本协议等操作后,即表示您充分理解隐私政策内 容以及上述描述,并已同意授权平台按照隐私政策 内容合法收集、储存和使用您的个人信息。为保护 您的合法权益,请认真阅读并充分理解《隐私政策》内容。 Family Mapp需要双方安装并加好友授权同意,APP付费方即可时刻关注对方的位置信息。\n 注册为Family Mapp会员或接受付费会员的好友邀请意味着 您将向平台和该付费会员提供地理位置,行为轨迹,高度等隐私信息。您正在使用的产品/服务及其功能将会收集、储存和使用您的相关信息,包括但不限于您的GPS定位、设备信息、手机通讯录等,您将受到《用户协议》和《隐私政策》的约束。您点击类似“同意并继续”按钮后或进行主动勾选同 义本协议等操作后,即表示您充分理解隐私政策内 容以及上述描述,并已同意授权平台按照隐私政策 内容合法收集、储存和使用您的个人信息。为保护 您的合法权益,请认真阅读并充分理解《隐私政策》内容。Family Mapp需要双方安装并加好友授权同意,APP付费方即可时刻关注对方的位置信息。\n 注册为Family Mapp会员或接受付费会员的好友邀请意味着 您将向平台和该付费会员提供地理位置,行为轨迹,高度等隐私信息。您正在使用的产品/服务及其功能将会收集、储存和使用您的相关信息,包括但不限于您的GPS定位、设备信息、手机通讯录等,您将受到《用户协议》和《隐私政策》的约束。您点击类似“同意并继续”按钮后或进行主动勾选同 义本协议等操作后,即表示您充分理解隐私政策内 容以及上述描述,并已同意授权平台按照隐私政策 内容合法收集、储存和使用您的个人信息。为保护 您的合法权益,请认真阅读并充分理解《隐私政策》内容。Family Mapp需要双方安装并加好友授权同意,APP付费方即可时刻关注对方的位置信息。\n 注册为Family Mapp会员或接受付费会员的好友邀请意味着 您将向平台和该付费会员提供地理位置,行为轨迹,高度等隐私信息。您正在使用的产品/服务及其功能将会收集、储存和使用您的相关信息,包括但不限于您的GPS定位、设备信息、手机通讯录等,您将受到《用户协议》和《隐私政策》的约束。您点击类似“同意并继续”按钮后或进行主动勾选同 义本协议等操作后,即表示您充分理解隐私政策内 容以及上述描述,并已同意授权平台按照隐私政策 内容合法收集、储存和使用您的个人信息。为保护 您的合法权益,请认真阅读并充分理解《隐私政策》内容。";
_neiRongLabel = [UILabel labelWithtext:str font:[UIFont systemFontOfSize:KFont(13)] textColor:[UIColor colorWithHex:0x333333] alignment:NSTextAlignmentLeft];
//设置行间距
NSMutableAttributedString *attributedStr = [[NSMutableAttributedString alloc] initWithString:str];
NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];
......@@ -68,15 +68,40 @@
_neiRongLabel.attributedText = attributedStr;
_neiRongLabel.numberOfLines = 0;
[_bgView addSubview:_neiRongLabel];
// [_bgView addSubview:_neiRongLabel];
CGRect rect = [str boundingRectWithSize:CGSizeMake(KScaleWidth(320)-KScaleWidth(50), MAXFLOAT) options:(NSStringDrawingUsesLineFragmentOrigin|NSStringDrawingUsesFontLeading) attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:KFont(13)], NSParagraphStyleAttributeName:paragraphStyle} context:nil];
[_neiRongLabel mas_makeConstraints:^(MASConstraintMaker *make) {
scrollView = [[UIScrollView alloc] init];
[_bgView addSubview:scrollView];
CGFloat labHeight = rect.size.height;
if (rect.size.height > KScreenHeight*3/5){
labHeight = KScreenHeight*3/5;
}
scrollView.contentSize = CGSizeMake(0, rect.size.height);
[scrollView mas_makeConstraints:^(MASConstraintMaker *make) {
make.top.mas_equalTo(_biaoTiLabel.mas_bottom).mas_offset(KScaleWidth(8));
make.left.equalTo(_bgView).mas_offset(KScaleWidth(25));
make.right.equalTo(_bgView).mas_offset(KScaleWidth(-25));
make.height.mas_equalTo(rect.size.height);
make.height.mas_equalTo(labHeight);
}];
UIView * containerView = [UIView new];
[scrollView addSubview:containerView];
[containerView mas_makeConstraints:^(MASConstraintMaker *make) {
make.edges.equalTo(scrollView);
make.width.equalTo(scrollView);
}];
[containerView addSubview:_neiRongLabel];
[_neiRongLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.edges.mas_equalTo(containerView);
}];
[containerView mas_makeConstraints:^(MASConstraintMaker *make) {
make.bottom.equalTo(_neiRongLabel.mas_bottom);
}];
//textView
......@@ -109,9 +134,9 @@
// make.bottom.equalTo(_bgView).mas_offset(KScaleWidth(-98));
// }];
[_textView mas_makeConstraints:^(MASConstraintMaker *make) {
make.top.mas_lessThanOrEqualTo(_neiRongLabel.mas_bottom).mas_offset(KScaleWidth(5));
make.left.equalTo(_neiRongLabel).mas_offset(KScaleWidth(0));
make.right.equalTo(_neiRongLabel).mas_offset(KScaleWidth(-0));
make.top.mas_lessThanOrEqualTo(scrollView.mas_bottom).mas_offset(KScaleWidth(5));
make.left.equalTo(scrollView).mas_offset(KScaleWidth(0));
make.right.equalTo(scrollView).mas_offset(KScaleWidth(-0));
make.height.mas_equalTo(KScaleWidth(44));
}];
......
......@@ -8,9 +8,6 @@
#import "ZJBaseMapViewController.h"
#import <BaiduMapAPI_Base/BMKBaseComponent.h>
#import <BaiduMapAPI_Map/BMKMapComponent.h>
@interface ZJBaseMapViewController ()<MAMapViewDelegate, XMPopupListViewDelegate>
@property (nonatomic, strong) MAMapView *mapView;
......@@ -22,8 +19,6 @@
@property (nonatomic, strong) ZJMapCardFriendSelectView *selectView;
@property (nonatomic, strong) ZJFriendModel *selectFriendModel;
//@property (nonatomic, strong) BMKMapView *mapView;
@end
@implementation ZJBaseMapViewController
......@@ -39,18 +34,6 @@
[self getFriendList];
}
//- (void)viewWillAppear:(BOOL)animated {
// [super viewWillAppear: animated];
// //当mapView即将被显示的时候调用,恢复之前存储的mapView状态
// [_mapView viewWillAppear];
//}
//
//- (void)viewWillDisappear:(BOOL)animated {
// [super viewWillDisappear: animated];
// //当mapView即将被隐藏的时候调用,存储当前mapView的状态
// [_mapView viewWillDisappear];
//}
- (void)setupUI{
///初始化地图
self.mapView = [[MAMapView alloc] initWithFrame:self.view.bounds];
......@@ -58,13 +41,6 @@
///把地图添加至view
[self.view addSubview: _mapView];
// _mapView = [[BMKMapView alloc] initWithFrame:self.view.bounds];
// //设置mapView的代理
// _mapView.delegate = self;
// //将mapView添加到当前视图中
// [self.view addSubview:_mapView];
_mapView.delegate = self;
_mapView.zoomLevel = 14;
_mapView.showsScale = false;
......@@ -89,7 +65,8 @@
// alert.callBack = ^{
ZJMemberPayViewController * zhiFuVC = [[UIStoryboard storyboardWithName:@"Pay" bundle:nil] instantiateViewControllerWithIdentifier:@"ZJMemberPayViewController"];
[self.navigationController pushViewController:zhiFuVC animated:YES];
// [self.navigationController pushViewController:zhiFuVC animated:YES];
[self.navigationController presentViewController:zhiFuVC animated:YES completion:nil];
zhiFuVC.payFinish = ^{
[[ZJUserInfoManager shared] updataUserInfo:^(ZJMineUserInfoModel * _Nonnull model) {
[self getFriendList];
......
......@@ -86,8 +86,8 @@
UIView * rightView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, KScaleWidth(98), KScaleWidth(46))];
self.addBtn = [[UIButton alloc] initWithFrame:rightView.bounds];
self.addBtn.titleLabel.font = [UIFont systemFontOfSize:KFont(16)];
[self.addBtn setTitle:kLocalizedString(@"location_friend") forState:(UIControlStateNormal)];
[self.addBtn setTitle:kLocalizedString(@"location_friend") forState:(UIControlStateSelected)];
[self.addBtn setTitle:kLocalizedString(@"care_find_now") forState:(UIControlStateNormal)];
[self.addBtn setTitle:kLocalizedString(@"care_find_now") forState:(UIControlStateSelected)];
self.addBtn.titleLabel.adjustsFontSizeToFitWidth = YES;
[self.addBtn setTitleColor:kColorWithRGB(82, 139, 255) forState:UIControlStateNormal];
[self.addBtn setTitleColor:kColorWithRGB(153, 153, 153) forState:UIControlStateSelected];
......@@ -277,7 +277,8 @@
// ZJMemberPayViewController *zhiFuVC = [[ZJMemberPayViewController alloc] init];
ZJMemberPayViewController * zhiFuVC = [[UIStoryboard storyboardWithName:@"Pay" bundle:nil] instantiateViewControllerWithIdentifier:@"ZJMemberPayViewController"];
[self.navigationController pushViewController:zhiFuVC animated:YES];
// [self.navigationController pushViewController:zhiFuVC animated:YES];
[self.navigationController presentViewController:zhiFuVC animated:YES completion:nil];
zhiFuVC.payFinish = ^{
[[ZJUserInfoManager shared] updataUserInfo:^(ZJMineUserInfoModel * _Nonnull model) {
......
......@@ -256,7 +256,8 @@ static NSString *ID = @"mineID";
// ZJMemberPayViewController *zhiFuVC = [[ZJMemberPayViewController alloc] init];
ZJMemberPayViewController * zhiFuVC = [[UIStoryboard storyboardWithName:@"Pay" bundle:nil] instantiateViewControllerWithIdentifier:@"ZJMemberPayViewController"];
[self.navigationController pushViewController:zhiFuVC animated:YES];
// [self.navigationController pushViewController:zhiFuVC animated:YES];
[self.navigationController presentViewController:zhiFuVC animated:YES completion:nil];
zhiFuVC.payFinish = ^{
[[ZJUserInfoManager shared] updataUserInfo:^(ZJMineUserInfoModel * _Nonnull model) {
......
......@@ -102,7 +102,7 @@
- (NSArray *)dataSource {
if (!_dataSource) {
if (![ZJUserInfoManager shared].isLogin) {
if ([ZJUserInfoManager shared].isMember) {
_dataSource = @[kLocalizedString(@"setting_version"),
kLocalizedString(@"setting_privacy"),
kLocalizedString(@"setting_service"),
......
//
// BaseComponent.h
// BaseComponent
//
// Created by baidu on 14-3-17.
// Copyright (c) 2014年 baidu. All rights reserved.
//
#import "BMKGeneralDelegate.h"
#import "BMKMapManager.h"
#import "BMKTypes.h"
#import "BMKUserLocation.h"
#import "BMKVersion.h"
//
// BMKGeneralDelegate.h
// BMapKit
//
// Copyright 2011 Baidu Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
///通知Delegate
@protocol BMKGeneralDelegate <NSObject>
@optional
/**
*返回网络错误
*@param iError 错误号
*/
- (void)onGetNetworkState:(int)iError;
/**
*返回授权验证错误
*@param iError 错误号 : 为0时验证通过,具体参加BMKPermissionCheckResultCode
*/
- (void)onGetPermissionState:(int)iError;
@end
//
// BMKMapManager.h
// BaiduMapAPI_Base
//
// Created by Daniel Bey on 2018年07月05日.
// Copyright © 2018 Baidu. All rights reserved.
//
#define BMKMapManagerInstance [BMKMapManager sharedInstance]
#import "BMKGeneralDelegate.h"
#import <UIKit/UIKit.h>
#import "BMKTypes.h"
///主引擎类
@interface BMKMapManager : NSObject
//获得实例对象
+ (BMKMapManager*) sharedInstance;
/**
全局设置地图SDK与开发者交互时的坐标类型。不调用此方法时,
设置此坐标类型意味着2个方面的约定:
1. 地图SDK认为开发者传入的所有坐标均为此类型;
2. 所有地图SDK返回给开发者的坐标均为此类型;
地图SDK默认使用BD09LL(BMK_COORDTYPE_BD09LL)坐标。
如需使用GCJ02坐标,传入参数值为BMK_COORDTYPE_COMMON即可。
本方法不支持传入WGS84(BMK_COORDTYPE_GPS)坐标。
@param coorType 地图SDK全局使用的坐标类型
@return 设置成功返回YES,设置失败返回False
*/
+ (BOOL)setCoordinateTypeUsedInBaiduMapSDK:(BMK_COORD_TYPE)coorType;
/**
获取地图SDK与开发者交互时使用的全局坐标类型
@return 坐标类型
*/
+ (BMK_COORD_TYPE)getCoordinateTypeUsedInBaiduMapSDK;
/**
打开某模块的日志,默认不打印日志
debug时,建议打开,有利于调试程序;release时建议关闭
@param enable 是否开启日志打印
@param mapModule 开启哪个模块的日志
*/
+ (void)logEnable:(BOOL)enable module:(BMKMapModule)mapModule;
/**
启动引擎,主要是进行鉴权并初始化引擎。鉴权结果通过BMKGeneralDelegate中的方法回调给开发者
@param key AK
@param delegate 回调对象
@return 参数错误或引擎内部异常则返回NO;鉴权请求发送成功则返回YES
*/
- (BOOL)start:(NSString *)key generalDelegate:(id <BMKGeneralDelegate>)delegate;
/**
获取所有在线服务消耗的发送流量,单位:字节
@return 发送流量
*/
- (NSUInteger)getTotalSendFlaxLength;
/**
获取所有在线服务消耗的接收流量,单位:字节
@return 接收流量
*/
- (NSUInteger)getTotalRecvFlaxLength;
/**
停止引擎
*/
- (BOOL)stop;
@end
//
// BMKUserLocation.h
// BaseComponent
//
// Created by Baidu on 3/26/14.
// Copyright (c) 2014 baidu. All rights reserved.
//
#import <CoreLocation/CoreLocation.h>
#ifndef BMKUserLocation_h
#define BMKUserLocation_h
@interface BMKUserLocation : NSObject
/// 位置更新状态,如果正在更新位置信息,则该值为YES
@property (nonatomic, assign, getter=isUpdating) BOOL updating;
/// 位置信息,尚未定位成功,则该值为nil
@property (nonatomic, strong) CLLocation *location;
/// heading信息,尚未定位成功,则该值为nil
@property (nonatomic, strong) CLHeading *heading;
/// 定位标注点要显示的标题信息
@property (nonatomic, copy) NSString *title;
/// 定位标注点要显示的子标题信息
@property (nonatomic, copy) NSString *subtitle;
@end
#endif
//
// BMKVersion.h
// BMapKit
//
// Copyright 2011 Baidu Inc. All rights reserved.
//
#import <UIKit/UIKit.h>
/**
*获取当前地图API的版本号
*return 返回当前API的版本号
*/
UIKIT_EXTERN NSString* BMKGetMapApiVersion(void);
/**
*获取当前地图API base组件 的版本号
*return 返回当前API base组件 的版本号
*/
UIKIT_EXTERN NSString* BMKGetMapApiBaseComponentVersion(void);
/*
* BMKActionPaopaoView.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
/**
* 该类用于定义一个PaopaoView
* 注意:如果在BMKActionPaopaoView中添加手势,会覆盖原本的点击和长按拖动的事件,不推荐这样使用。
* 如必须添加,请将手势的delegate设置到BMKActionPaopaoView中。
*/
@interface BMKActionPaopaoView : UIView
/**
*初始化并返回一个BMKActionPaopaoView
*@param customView 自定义View,customView=nil时返回默认的PaopaoView
*@return 初始化成功则返回BMKActionPaopaoView,否则返回nil
*/
- (id)initWithCustomView:(UIView *)customView;
@end
//
// BMKAnnotation.h
// BMapKit
//
// Copyright 2011 Baidu Inc. All rights reserved.
//
#import <CoreGraphics/CoreGraphics.h>
#import <CoreLocation/CoreLocation.h>
#import <Foundation/Foundation.h>
/// 该类为标注点的protocol,提供了标注类的基本信息函数
@protocol BMKAnnotation <NSObject>
///标注view中心坐标.
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
@optional
/**
*获取annotation标题
*@return 返回annotation的标题信息
*/
- (NSString *)title;
/**
*获取annotation副标题
*@return 返回annotation的副标题信息
*/
- (NSString *)subtitle;
/**
*设置标注的坐标,在拖拽时会被调用.
*@param newCoordinate 新的坐标值
*/
- (void)setCoordinate:(CLLocationCoordinate2D)newCoordinate;
@end
/*
* BMKAnnotationView.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import "BMKActionPaopaoView.h"
#if __IPHONE_3_2 <= __IPHONE_OS_VERSION_MAX_ALLOWED
enum {
BMKAnnotationViewDragStateNone = 0, ///< 静止状态.
BMKAnnotationViewDragStateStarting, ///< 开始拖动
BMKAnnotationViewDragStateDragging, ///< 拖动中
BMKAnnotationViewDragStateCanceling, ///< 取消拖动
BMKAnnotationViewDragStateEnding ///< 拖动结束
};
typedef NSUInteger BMKAnnotationViewDragState;
#endif
typedef float BMKFeatureDisplayPriority;
//常规annotationView级别高
static const BMKFeatureDisplayPriority BMKFeatureDisplayPriorityDefaultHigh = 750;
//常规annotationView级别中,其中罗盘模式下,罗盘中的图片使用本级别,精度圈使用本级别。
static const BMKFeatureDisplayPriority BMKFeatureDisplayPriorityDefaultMiddle = 500;
//常规annotationView级别低
static const BMKFeatureDisplayPriority BMKFeatureDisplayPriorityDefaultLow = 250;
@class BMKAnnotationViewInternal;
@protocol BMKAnnotation;
@class BMKMapView;
@class BMKMapViewInternal;
/**
* 标注view
* 注意:如果在BMKAnnotationView中添加手势,会覆盖原本的点击和长按事件,不推荐这样使用。
* 如必须添加,请将手势的delegate设置到BMKAnnotationView中。
*/
@interface BMKAnnotationView : UIView
{
@private
BMKAnnotationViewInternal *_internal;
BOOL _enabled3D;
CGPoint _originPt;
CGPoint startPoint;
}
/**
*初始化并返回一个annotation view
*@param annotation 关联的annotation对象
*@param reuseIdentifier 如果要重用view,传入一个字符串,否则设为nil,建议重用view
*@return 初始化成功则返回annotation view,否则返回nil
*/
- (id)initWithAnnotation:(id <BMKAnnotation>)annotation reuseIdentifier:(NSString *)reuseIdentifier;
///复用标志
@property (nonatomic, readonly) NSString *reuseIdentifier;
///paopaoView
@property (nonatomic, strong) BMKActionPaopaoView* paopaoView;
/**
*当view从reuse队列里取出时被调用
*默认不做任何事
*/
- (void)prepareForReuse;
///关联的annotation
@property (nonatomic, strong) id <BMKAnnotation> annotation;
///annotation view显示的图像
@property (nonatomic, strong) UIImage *image;
///默认情况下, annotation view的中心位于annotation的坐标位置,可以设置centerOffset改变view的位置,正的偏移使view朝右下方移动,负的朝左上方,单位是像素
@property (nonatomic) CGPoint centerOffset;
///默认情况下, 弹出的气泡位于view正中上方,可以设置calloutOffset改变view的位置,正的偏移使view朝右下方移动,负的朝左上方,单位是像素
@property (nonatomic) CGPoint calloutOffset;
///默认情况下,标注没有3D效果,可以设置enabled3D改变使用3D效果,使得标注在地图旋转和俯视时跟随旋转、俯视
@property (nonatomic) BOOL enabled3D;
///默认为YES,当为NO时view忽略触摸事件
@property (nonatomic, getter=isEnabled) BOOL enabled;
///默认为NO,初始化时设置为YES时会默认弹出气泡。V5.2.0以后版本可以直接设置该值来控制隐藏和弹出气泡,无需调用强制刷新
@property (nonatomic, getter=isSelected) BOOL selected;
/**
*设定view的选中状态
*该方法被BMKMapView调用
*@param selected 如果view需要显示为选中状态,该值为YES
*@param animated 如果需要动画效果,该值为YES,暂不支持
*/
- (void)setSelected:(BOOL)selected animated:(BOOL)animated;
///当为YES时,view被选中时会弹出气泡,annotation必须实现了title这个方法
@property (nonatomic) BOOL canShowCallout;
///显示在气泡左侧的view(使用默认气泡时,view的width最大值为32,height最大值为41,大于则使用最大值)
@property (strong, nonatomic) UIView *leftCalloutAccessoryView;
///显示在气泡右侧的view(使用默认气泡时,view的width最大值为32,height最大值为41,大于则使用最大值)
@property (strong, nonatomic) UIView *rightCalloutAccessoryView;
///当设为YES并实现了setCoordinate:方法时,支持将view在地图上拖动, iOS 3.2以后支持
@property (nonatomic, getter=isDraggable) BOOL draggable __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_3_2);
///当前view的拖动状态, iOS 3.2以后支持
@property (nonatomic) BMKAnnotationViewDragState dragState __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_3_2);
///当发生单击地图事件时,当前的annotation的泡泡是否隐藏,默认值为YES,V4.2.1以后支持
@property (nonatomic, assign) BOOL hidePaopaoWhenSingleTapOnMap;
///当发生双击地图事件时,当前的annotation的泡泡是否隐藏,默认值为NO,V4.2.1以后支持
@property (nonatomic, assign) BOOL hidePaopaoWhenDoubleTapOnMap;
///当发生两个手指点击地图(缩小地图)事件时,当前的annotation的泡泡是否隐藏,默认值为NO,V4.2.1以后支持
@property (nonatomic, assign) BOOL hidePaopaoWhenTwoFingersTapOnMap;
///当选中其他annotation时,当前annotation的泡泡是否隐藏,默认值为YES,V4.2.1以后支持
@property (nonatomic, assign) BOOL hidePaopaoWhenSelectOthers;
///当拖拽当前的annotation时,当前annotation的泡泡是否隐藏,默认值为NO,V4.2.1以后支持
@property (nonatomic, assign) BOOL hidePaopaoWhenDrag;
///当拖拽其他annotation时,当前annotation的泡泡是否隐藏,默认值为NO,V4.2.1以后支持
@property (nonatomic, assign) BOOL hidePaopaoWhenDragOthers;
///annotationView展示优先级,提供三种级别,其他级别开发者可自行设置,
///默认值为BMKFeatureDisplayPriorityDefaultMiddle,V4.2.1以后支持,
///级别数值越大越优先展示,同级别按照添加的先后顺序进行覆盖展示。
@property (nonatomic, assign) BMKFeatureDisplayPriority displayPriority;
@end
/*
* BMKArcline.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import "BMKMultiPoint.h"
#import "BMKOverlay.h"
/// 此类用于定义一段圆弧
@interface BMKArcline : BMKMultiPoint <BMKOverlay>
{
BMKMapRect _boundingMapRect;
bool isYouArc;
}
/**
*根据指定坐标点生成一段圆弧
*@param points 指定的直角坐标点数组(需传入3个点)
*@return 新生成的圆弧对象
*/
+ (BMKArcline *)arclineWithPoints:(BMKMapPoint *)points;
/**
*根据指定经纬度生成一段圆弧
*@param coords 指定的经纬度坐标点数组(需传入3个点)
*@return 新生成的圆弧对象
*/
+ (BMKArcline *)arclineWithCoordinates:(CLLocationCoordinate2D *)coords;
/**
*重新设置圆弧坐标
*@param points 指定的直角坐标点数组(需传入3个点)
*@return 是否设置成功
*/
- (BOOL)setArclineWithPoints:(BMKMapPoint *)points;
/**
*重新设置圆弧坐标
*@param coords 指定的经纬度坐标点数组(需传入3个点)
*@return 是否设置成功
*/
- (BOOL)setArclineWithCoordinates:(CLLocationCoordinate2D *)coords;
@end
/*
* BMKArclineView.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import "BMKArcline.h"
#import "BMKOverlayGLBasicView.h"
/// 此类用于定义一个圆弧View
@interface BMKArclineView : BMKOverlayGLBasicView
/**
*根据指定的弧线生成一个圆弧View
*@param arcline 指定的弧线数据对象
*@return 新生成的弧线View
*/
- (id)initWithArcline:(BMKArcline *)arcline;
/// 该View对应的圆弧数据对象
@property (nonatomic, readonly) BMKArcline *arcline;
@end
//
// BMKBaseIndoorMapInfo.h
// MapComponent
//
// Created by wzy on 16/4/2.
// Copyright © 2016年 baidu. All rights reserved.
//
#ifndef BMKBaseIndoorMapInfo_h
#define BMKBaseIndoorMapInfo_h
#import <CoreLocation/CoreLocation.h>
#import <Foundation/Foundation.h>
#import <QuartzCore/QuartzCore.h>
///此类表示室内图基础信息
@interface BMKBaseIndoorMapInfo : NSObject
/// 室内ID
@property (nonatomic, strong) NSString* strID;
/// 当前楼层
@property (nonatomic, strong) NSString* strFloor;
/// 所有楼层信息
@property (nonatomic, strong) NSMutableArray* arrStrFloors;
@end
#endif /* BMKBaseIndoorMapInfo_h */
/*
* BMKCircle.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import "BMKShape.h"
#import "BMKMultiPoint.h"
#import "BMKOverlay.h"
/// 该类用于定义一个圆
@interface BMKCircle : BMKMultiPoint <BMKOverlay> {
@package
BOOL _invalidate;
CLLocationCoordinate2D _coordinate;
CLLocationDistance _radius;
BMKMapRect _boundingMapRect;
}
/**
*根据中心点和半径生成圆
*@param coord 中心点的经纬度坐标
*@param radius 半径,单位:米
*@return 新生成的圆
*/
+ (BMKCircle *)circleWithCenterCoordinate:(CLLocationCoordinate2D)coord
radius:(CLLocationDistance)radius;
/**
*根据指定的直角坐标矩形生成圆,半径由较长的那条边决定,radius = MAX(width, height)/2
*@param mapRect 指定的直角坐标矩形
*@return 新生成的圆
*/
+ (BMKCircle *)circleWithMapRect:(BMKMapRect)mapRect;
/// 中心点坐标
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
/// 半径,单位:米
@property (nonatomic, assign) CLLocationDistance radius;
/// 该圆的外接矩形
@property (nonatomic, readonly) BMKMapRect boundingMapRect;
///设置中空区域,用来创建中间带空洞的复杂图形。注意:传入的overlay只支持BMKPolgon类型和BMKCircle类型. since 5.0.0
@property (nonatomic, strong) NSArray<id<BMKOverlay>> *hollowShapes;
/**
*设置圆的中心点和半径
*@param coord 中心点的经纬度坐标
*@param radius 半径,单位:米
*@return 是否设置成功
*/
- (BOOL)setCircleWithCenterCoordinate:(CLLocationCoordinate2D)coord radius:(CLLocationDistance)radius;
/**
*根据指定的直角坐标矩形设置圆,半径由较长的那条边决定,radius = MAX(width, height)/2
*@param mapRect 指定的直角坐标矩形
*@return 是否设置成功
*/
- (BOOL)setCircleWithMapRect:(BMKMapRect)mapRect;
@end
/*
* BMKCircleView.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import "BMKCircle.h"
#import "BMKOverlayGLBasicView.h"
/// 该类用于定义圆对应的View
@interface BMKCircleView : BMKOverlayGLBasicView
/**
*根据指定圆生成对应的View
*@param circle 指定的圆
*@return 生成的View
*/
- (id)initWithCircle:(BMKCircle *)circle;
/// 该View对应的圆
@property (nonatomic, readonly) BMKCircle *circle;
@end
//
// BMKCustomMapOption.h
// MapComponent
//
// Created by zhaoxiangru on 2019/9/10.
// Copyright © 2019 Baidu. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface BMKCustomMapStyleOption : NSObject
/// 个性化地图样式ID,可从百度地图开放平台控制台http://lbsyun.baidu.com/apiconsole/custommap获取个性化样式ID
@property(nonatomic, copy)NSString *customMapStyleID;
/// 个性化地图文件路径,通过id加载失败时,将会从本地加载此路径下的个性化样式
@property(nonatomic, copy)NSString *customMapStyleFilePath;
@end
/*
* BMKGradient.h
* BMapKit
*
* Copyright 2013 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
///此类表示热力图渐变色
@interface BMKGradient : NSObject{
}
///渐变色用到的所有颜色数组,数组成员类型为UIColor
@property (nonatomic,strong) NSArray* mColors;
///每一个颜色的起始点数组,,数组成员类型为 [0,1]的double值, given as a percentage of the maximum intensity,个数和mColors的个数必须相同,数组内元素必须时递增的
@property (nonatomic,strong) NSArray* mStartPoints;
//渐变色的初始化方法,使用默认colorMapSize1000进行初始化
- (id)initWithColors:(NSArray*)colors startPoints:(NSArray*)startPoints;
@end
/*
* BMKGroundOverlay.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import "BMKMultiPoint.h"
#import "BMKOverlay.h"
/// 该类用于定义一个图片图层
@interface BMKGroundOverlay : BMKMultiPoint<BMKOverlay>
{
@public
float zoomLevel;
CLLocationCoordinate2D _pt;
BMKCoordinateBounds _bound;
CGPoint _anchor;
UIImage* _icon;
int iconID;
BOOL isCenterPt;
int left;
int bottom;
int width;
int height;
}
/// 两种绘制GroundOverlay的方式之一:绘制的位置地理坐标,与anchor配对使用
@property (nonatomic,assign) CLLocationCoordinate2D pt;
/// 用位置绘制时图片的锚点,图片左上角为(0.0f,0.0f),向右向下为正
/// 使用groundOverlayWithPosition初始化时生效
@property (nonatomic,assign) CGPoint anchor;
/// 两种绘制GroundOverlay的方式之二:绘制的地理区域范围,图片在此区域内合理缩放
@property (nonatomic,assign) BMKCoordinateBounds bound;
/// 绘制图片
@property(nonatomic, strong) UIImage *icon;
///图片纹理透明度,最终透明度 = 纹理透明度 * alpha,取值范围为[0.0f, 1.0f],默认为1.0f
@property(nonatomic) GLfloat alpha;
/**
*根据指定经纬度坐标生成一个groundOverlay
*@param position 指定的经纬度坐标
*@param zoomLevel 不损失精度绘制原始图片的地图等级
*@param anchor 绘制图片的锚点
*@param icon 绘制使用的图片
*@return 新生成的groundOverlay对象
*/
+ (BMKGroundOverlay *)groundOverlayWithPosition:(CLLocationCoordinate2D)position
zoomLevel:(CGFloat)zoomLevel
anchor:(CGPoint)anchor
icon:(UIImage*)icon;
/**
*根据指定区域生成一个groundOverlay
*@param bounds 指定的经纬度区域
*@param icon 绘制使用的图片
*@return 新生成的groundOverlay对象
*/
+ (BMKGroundOverlay *)groundOverlayWithBounds:(BMKCoordinateBounds)bounds
icon:(UIImage*)icon;
@end
\ No newline at end of file
/*
* BMKGroundOverlayView.h
* BMapKit
*
* Copyright 2013 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import "BMKGroundOverlay.h"
#import "BMKOverlayPathView.h"
/// 该类用于定义一个BMKGroundOverlayView
@interface BMKGroundOverlayView : BMKOverlayView
/**
*根据指定的groundOverlay生成一个View
*@param groundOverlay 指定的groundOverlay数据对象
*@return 新生成的View
*/
- (id)initWithGroundOverlay:(BMKGroundOverlay *)groundOverlay;
/// 该View对应的ground数据对象
@property (nonatomic, readonly) BMKGroundOverlay *groundOverlay;
@end
/*
* BMKHeatMap.h
* BMapKit
*
* Copyright 2013 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <BaiduMapAPI_Base/BMKTypes.h>
#import "BMKGradient.h"
///热力图节点信息
@interface BMKHeatMapNode : NSObject{
double _intensity;
CLLocationCoordinate2D _pt;
}
///点的强度权值
@property (nonatomic) double intensity;
///点的位置坐标
@property (nonatomic) CLLocationCoordinate2D pt;
@end
///热力图的绘制数据和显示样式类
@interface BMKHeatMap : NSObject
{
int _mRadius; //Heatmap point radius
BMKGradient* _mGradient;//Gradient of the color map
double _mOpacity;//Opacity of the overall heatmap overlay [0...1]
NSMutableArray* _mData;
}
///设置热力图点半径,默认为12ps
@property (nonatomic, assign) int mRadius;
///设置热力图渐变,有默认值 DEFAULT_GRADIENT
@property (nonatomic, strong) BMKGradient* mGradient;
///设置热力图层透明度,默认 0.6
@property (nonatomic, assign) double mOpacity;
///用户传入的热力图数据,数组,成员类型为BMKHeatMapNode
@property (nonatomic, strong) NSMutableArray* mData;
@end
//
// BMKLineDrawType.h
// MapComponent
//
// Created by zhangbaojin on 2019/8/7.
// Copyright © 2019 Baidu. All rights reserved.
//
#ifndef BMKLineDrawType_h
#define BMKLineDrawType_h
///line拐角处理方式(不支持虚线)
enum BMKLineJoinType
{
kBMKLineJoinBevel = 0, ///< 平角衔接
kBMKLineJoinMiter, ///< 尖角衔接(尖角过长(大于线宽)按平角处理)
kBMKLineJoinRound ///< 圆⻆角衔接
};
typedef enum BMKLineJoinType BMKLineJoinType;
///line头尾处理方式(不支持虚线)
enum BMKLineCapType
{
kBMKLineCapButt = 0, ///< 普通头
kBMKLineCapRound ///< 圆形头
};
typedef enum BMKLineCapType BMKLineCapType;
///虚线绘制样式
enum BMKLineDashType
{
kBMKLineDashTypeNone = 0, ///<实折线
kBMKLineDashTypeSquare, ///<方块样式
kBMKLineDashTypeDot, ///<圆点样式
};
typedef enum BMKLineDashType BMKLineDashType;
#endif /* BMKLineDrawType_h */
/*
* BMKLocationViewDisplayParam.h
* BMapKit
*
* Copyright 2013 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
/**
LocationView在mapview上显示的层级
- LOCATION_VIEW_HIERARCHY_TOP: locationView在最上层
- LOCATION_VIEW_HIERARCHY_BOTTOM: locationView在最下层
*/
typedef NS_ENUM(NSUInteger, LocationViewHierarchy) {
LOCATION_VIEW_HIERARCHY_TOP,
LOCATION_VIEW_HIERARCHY_BOTTOM,
};
///此类表示定位图层自定义样式参数
@interface BMKLocationViewDisplayParam : NSObject <NSCopying>
///定位图标X轴偏移量(屏幕坐标)
@property (nonatomic, assign) CGFloat locationViewOffsetX;
///定位图标Y轴偏移量(屏幕坐标)
@property (nonatomic, assign) CGFloat locationViewOffsetY;
///精度圈是否显示,默认YES
@property (nonatomic, assign) BOOL isAccuracyCircleShow;
///精度圈 填充颜色
@property (nonatomic, strong) UIColor *accuracyCircleFillColor;
///精度圈 边框颜色
@property (nonatomic, strong) UIColor *accuracyCircleStrokeColor;
///跟随态旋转角度是否生效,默认YES
@property (nonatomic, assign) BOOL isRotateAngleValid;
///定位图标名称,需要将该图片放到 mapapi.bundle/images 目录下
@property (nonatomic, strong) NSString *locationViewImgName;
///用户自定义定位图标,V4.2.1以后支持
@property (nonatomic, strong) UIImage *locationViewImage;
///是否显示气泡,默认YES
@property (nonatomic, assign) BOOL canShowCallOut;
///locationView在mapview上的层级 默认值为LOCATION_VIEW_HIERARCHY_BOTTOM
@property (nonatomic, assign) LocationViewHierarchy locationViewHierarchy;
@end
/*
* BMKMapComponent.h
* BMKMapComponent
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import "BMKMapVersion.h"
#import "BMKAnnotation.h"
#import "BMKAnnotationView.h"
#import "BMKMapView.h"
#import "BMKBaseIndoorMapInfo.h"
#import "BMKOfflineMap.h"
#import "BMKOfflineMapType.h"
#import "BMKOverlay.h"
#import "BMKShape.h"
#import "BMKPointAnnotation.h"
#import "BMKPinAnnotationView.h"
#import "BMKMultiPoint.h"
#import "BMKArcline.h"
#import "BMKPolyline.h"
#import "BMKPolygon.h"
#import "BMKCircle.h"
#import "BMKOverlayView.h"
#import "BMKOverlayPathView.h"
#import "BMKOverlayGLBasicView.h"
#import "BMKPolygonView.h"
#import "BMKPolylineView.h"
#import "BMKCircleView.h"
#import "BMKArclineView.h"
#import "BMKGroundOverlay.h"
#import "BMKGroundOverlayView.h"
#import "BMKGradient.h"
#import "BMKTileLayer.h"
#import "BMKTileLayerView.h"
/*
* BMKMapStatus.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <CoreLocation/CoreLocation.h>
#import <UIKit/UIKit.h>
#import <BaiduMapAPI_Base/BMKTypes.h>
//#import <QuartzCore/QuartzCore.h>
///此类表示地图状态信息
@interface BMKMapStatus : NSObject
{
float _fLevel; // 缩放比例,4-21级
float _fRotation; // 旋转角度
float _fOverlooking; // 俯视角度
CGPoint _targetScreenPt;//屏幕坐标(中心点)
CLLocationCoordinate2D _targetGeoPt;//地理坐标(中心点)
}
///缩放级别:[4~21]
@property (nonatomic, assign) float fLevel;
///旋转角度
@property (nonatomic, assign) float fRotation;
///俯视角度:[-79~0]
@property (nonatomic, assign) float fOverlooking;
///屏幕中心点坐标:在屏幕内,超过无效
@property (nonatomic) CGPoint targetScreenPt;
///地理中心点坐标:经纬度
@property (nonatomic) CLLocationCoordinate2D targetGeoPt;
///当前地图范围,采用直角坐标系表示,向右向下增长
@property (nonatomic, assign, readonly) BMKMapRect visibleMapRect;
@end
//
// BMKMapVersion.h
// MapComponent
//
// Created by wzy on 15/9/9.
// Copyright © 2015年 baidu. All rights reserved.
//
#ifndef BMKMapVersion_h
#define BMKMapVersion_h
#import <UIKit/UIKit.h>
/**
*重要:
*map组件的版本和base组件的版本必须一致,否则不能正常使用
*/
/**
*获取当前地图API map组件 的版本号
*return 返回当前API map组件 的版本号
*/
UIKIT_EXTERN NSString* BMKGetMapApiMapComponentVersion(void);
/**
*检查map组件的版本号是否和base组件的版本号一致
*return 版本号一致返回YES
*/
UIKIT_EXTERN BOOL BMKCheckMapComponentIsLegal(void);
#endif /* BMKMapVersion_h */
/*
* BMKMultiPoint.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <Foundation/Foundation.h>
#import <BaiduMapAPI_Base/BMKTypes.h>
#import "BMKShape.h"
/// 该类定义多个点,是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类BMKPolyline,BMKPolygon来实例化
@interface BMKMultiPoint : BMKShape {
@package
BMKMapPoint *_points;
NSUInteger _pointCount;
BMKMapRect _boundingRect;
}
/// 坐标点数组
@property (nonatomic, readonly) BMKMapPoint *points;
/// 坐标点的个数
@property (nonatomic, readonly) NSUInteger pointCount;
/**
*将内部的直角坐标数据转换为经纬度坐标点数据,并拷贝到指定的数组中
*@param coords 经纬度坐标数组,转换后的坐标将存储到该数组中,该数组长度必须大于等于要拷贝的坐标点的个数(range.length)
*@param range 指定要拷贝的数据段
*/
- (void)getCoordinates:(CLLocationCoordinate2D *)coords range:(NSRange)range;
@end
/*
* BMKOfflineMap.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <Foundation/Foundation.h>
#import "BMKOfflineMapType.h"
@protocol BMKOfflineMapDelegate;
///离线地图事件类型
enum {
TYPE_OFFLINE_UPDATE = 0, ///<下载或更新
TYPE_OFFLINE_ZIPCNT = 1, ///<检测到的压缩包个数
TYPE_OFFLINE_UNZIP = 2, ///<当前解压的离线包
TYPE_OFFLINE_ERRZIP = 3, ///<错误的离线包
TYPE_OFFLINE_NEWVER = 4, ///<有新版本
TYPE_OFFLINE_UNZIPFINISH = 5, ///<扫描完毕
TYPE_OFFLINE_ADD = 6 ///<新增离线包
};
///离线地图服务
@interface BMKOfflineMap : NSObject
@property (nonatomic, weak) id<BMKOfflineMapDelegate> delegate;
/**
*自2.9.0起废弃,不支持扫描导入离线包
*扫描离线地图压缩包,异步函数
*@return 成功返回YES,否则返回NO
*/
- (BOOL)scan:(BOOL)deleteFailedr __deprecated_msg("废弃方法(空实现),自2.9.0起废弃,不支持扫描导入离线包");
/**
*启动下载指定城市id的离线地图
*@param cityID 指定的城市id
*@return 成功返回YES,否则返回NO
*/
- (BOOL)start:(int)cityID;
/**
*启动更新指定城市id的离线地图
*@param cityID 指定的城市id
*@return 成功返回YES,否则返回NO
*/
- (BOOL)update:(int)cityID;
/**
*暂停下载指定城市id的离线地图
*@param cityID 指定的城市id
*@return 成功返回YES,否则返回NO
*/
- (BOOL)pause:(int)cityID;
/**
*删除下载指定城市id的离线地图
*@param cityID 指定的城市id
*@return 成功返回YES,否则返回NO
*/
- (BOOL)remove:(int)cityID;
/**
*返回热门城市列表
*@return 热门城市列表,用户需要显示释放该数组,数组元素为BMKOLSearchRecord
*/
- (NSArray*)getHotCityList;
/**
*返回所有支持离线地图的城市列表
*@return 支持离线地图的城市列表,用户需要显示释放该数组,数组元素为BMKOLSearchRecord
*/
- (NSArray*)getOfflineCityList;
/**
*根据城市名搜索该城市离线地图记录
*@param cityName 城市名
*@return 该城市离线地图记录,用户需要显示释放该数组,数组元素为BMKOLSearchRecord
*/
- (NSArray*)searchCity:(NSString*)cityName;
/**
*返回各城市离线地图更新信息
*@return 各城市离线地图更新信息,用户需要显示释放该数组,数组元素为BMKOLUpdateElement
*/
- (NSArray*)getAllUpdateInfo;
/**
*返回指定城市id离线地图更新信息
*@param cityID 指定的城市id
*@return 指定城市id离线地图更新信息
*/
- (BMKOLUpdateElement*)getUpdateInfo:(int)cityID;
@end
///离线地图delegate,用于获取通知
@protocol BMKOfflineMapDelegate<NSObject>
/**
*返回通知结果
*@param type 事件类型: TYPE_OFFLINE_UPDATE,TYPE_OFFLINE_ZIPCNT,TYPE_OFFLINE_UNZIP, TYPE_OFFLINE_ERRZIP, TYPE_VER_UPDATE, TYPE_OFFLINE_UNZIPFINISH, TYPE_OFFLINE_ADD
*@param state 事件状态,当type为TYPE_OFFLINE_UPDATE时,表示正在下载或更新城市id为state的离线包,当type为TYPE_OFFLINE_ZIPCNT时,表示检测到state个离线压缩包,当type为TYPE_OFFLINE_ADD时,表示新安装的离线地图数目,当type为TYPE_OFFLINE_UNZIP时,表示正在解压第state个离线包,当type为TYPE_OFFLINE_ERRZIP时,表示有state个错误包,当type为TYPE_VER_UPDATE时,表示id为state的城市离线包有更新,当type为TYPE_OFFLINE_UNZIPFINISH时,表示扫瞄完成,成功导入state个离线包
*/
- (void)onGetOfflineMapState:(int)type withState:(int)state;
@end
/*
* BMKOffineMapType.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
///离线地图搜索城市记录结构
@interface BMKOLSearchRecord : NSObject
{
NSString* _cityName;
int64_t _size;
int _cityID;
int _cityType;
NSArray* _childCities;
}
///城市名称
@property (nonatomic, strong) NSString* cityName;
///数据包总大小
@property (nonatomic) int64_t size;
///城市ID
@property (nonatomic) int cityID;
///城市类型 0:全国;1:省份;2:城市;如果是省份,可以通过childCities得到子城市列表
@property (nonatomic) int cityType;
///子城市列表
@property (nonatomic, strong) NSArray* childCities;
@end
///离线地图更新信息
@interface BMKOLUpdateElement : NSObject
{
NSString* _cityName;
int _cityID;
int64_t _size;
int64_t _serversize;
BOOL _update;
int _ratio;
int _status;
CLLocationCoordinate2D _pt;
}
///城市名称
@property (nonatomic, strong) NSString* cityName;
///城市ID
@property (nonatomic) int cityID;
///已下载数据大小,单位:字节
@property (nonatomic) int64_t size;
///服务端数据大小,当update为YES时有效,单位:字节
@property (nonatomic) int64_t serversize;
///下载比率,100为下载完成,下载完成后会自动导入,status为4时离线包导入完成
@property (nonatomic) int ratio;
///下载状态, -1:未定义 1:正在下载 2:等待下载 3:已暂停 4:完成 5:校验失败 6:网络异常 7:读写异常 8:Wifi网络异常 9:离线包数据格式异常,需重新下载离线包 10:离线包导入中
@property (nonatomic) int status;
///更新状态,离线包是否有更新(有更新需重新下载)
@property (nonatomic) BOOL update;
///城市中心点
@property (nonatomic) CLLocationCoordinate2D pt;
@end
/*
* BMKOverlay.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import "BMKAnnotation.h"
#import <BaiduMapAPI_Base/BMKTypes.h>
/// 该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类
@protocol BMKOverlay <BMKAnnotation>
@required
/// 返回区域中心坐标.
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
/// 返回区域外接矩形
@property (nonatomic, readonly) BMKMapRect boundingMapRect;
@optional
/**
*判断指定的矩形是否与本Overlay相交,用于更精确的控制overlay view的显示.
*默认使用BMKMapRectIntersectsRect([overlay boundingRect], mapRect)代替.
*@param mapRect 指定的BMKMapRect
*@return 如果相交返回YES,否则返回NO
*/
- (BOOL)intersectsMapRect:(BMKMapRect)mapRect;
@end
/*
* BMKOverlayGLBasicView.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import "BMKOverlayView.h"
/// 该类定义了一个用opengl绘制的OverlayView的基类,如果需要用gdi进行绘制请继承于BMKOverlayPathView类
@interface BMKOverlayGLBasicView : BMKOverlayView {
}
/// 填充颜色
/// 注:请使用 - (UIColor *)initWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha; 初始化UIColor,使用[UIColor ***Color]初始化时,个别case转换成RGB后会有问题
@property (strong, nonatomic) UIColor *fillColor;
/// 画笔颜色
/// 注:请使用 - (UIColor *)initWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha; 初始化UIColor,使用[UIColor ***Color]初始化时,个别case转换成RGB后会有问题
@property (strong, nonatomic) UIColor *strokeColor;
/// 画笔宽度,默认为0
@property (nonatomic,assign) CGFloat lineWidth;
/// path对象
@property CGPathRef path;
/// 是否为虚线样式,默认NO
@property (nonatomic) BOOL lineDash __deprecated_msg("已废弃since 5.0.0,已废弃,请使用lineDashType绘制虚线");
/// 是否纹理图片平铺绘制,默认NO
@property (assign, nonatomic) BOOL tileTexture __deprecated_msg("已废弃since 5.0.0");
/// 纹理图片是否缩放,默认NO
@property (assign, nonatomic) BOOL keepScale;
/// LineJoinType,默认是kBMKLineJoinBevel(不支持虚线)
@property(assign,nonatomic)BMKLineJoinType lineJoinType;
/// LineCapType,默认是kBMKLineCapButt (不支持虚线)
@property(assign,nonatomic)BMKLineCapType lineCapType;
/// 虚线类型, since 5.0.0,默认kBMKLineDashTypeNone(仅支持颜色虚线)
@property(assign,nonatomic)BMKLineDashType lineDashType;
@end
/*
* BMKOverlayPathView.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import "BMKOverlayView.h"
/// 该类定义了一个基本的OverlayView
@interface BMKOverlayPathView : BMKOverlayView {
@package
UIColor *_fillColor;
UIColor *_strokeColor;
CGFloat _lineWidth;
CGLineJoin _lineJoin;
CGLineCap _lineCap;
CGFloat _miterLimit;
CGFloat _lineDashPhase;
NSArray *_lineDashPattern;
CGPathRef _path;
}
/// 填充颜色
@property (strong) UIColor *fillColor;
/// 画笔颜色
@property (strong) UIColor *strokeColor;
/// 画笔宽度,默认为0
@property CGFloat lineWidth;
/// LineJoin,默认为kCGLineJoinRound
@property CGLineJoin lineJoin;
/// LineCap,默认为kCGLineCapRound
@property CGLineCap lineCap;
/// miterLimit,在样式为kCGLineJoinMiter时有效,默认为10
@property CGFloat miterLimit;
/// lineDashPhase, 默认为0
@property CGFloat lineDashPhase;
/// lineDashPattern,一个NSNumbers的数组,默认为nil
@property (copy) NSArray *lineDashPattern;
/**
*生成要绘制的path,子类需要重写此函数,并且对path属性赋值:self.path = newPath;
*/
- (void)createPath;
/// path对象
@property CGPathRef path;
/**
*刷新path,调用该函数将会使已经缓存的path失效,将会重新调用createPath来生成新的path对象
*/
- (void)invalidatePath;
/**
*应用画笔属性
*@param context CGContext对象
*@param zoomScale 当前的zoomScale
*/
- (void)applyStrokePropertiesToContext:(CGContextRef)context
atZoomScale:(BMKZoomScale)zoomScale;
/**
*应用画刷属性
*@param context CGContext对象
*@param zoomScale 当前的zoomScale
*/
- (void)applyFillPropertiesToContext:(CGContextRef)context
atZoomScale:(BMKZoomScale)zoomScale;
/**
*绘制path
*@param path 要绘制的CGPath
*@param context CGContext对象
*/
- (void)strokePath:(CGPathRef)path inContext:(CGContextRef)context;
/**
*填充path
*@param path 要绘制的CGPath
*@param context CGContext对象
*/
- (void)fillPath:(CGPathRef)path inContext:(CGContextRef)context;
@end
/*
* BMKPinAnnotationView.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import "BMKAnnotationView.h"
enum {
BMKPinAnnotationColorRed = 0,
BMKPinAnnotationColorGreen,
BMKPinAnnotationColorPurple
};
typedef NSUInteger BMKPinAnnotationColor;
///提供类似大头针效果的annotation view
@interface BMKPinAnnotationView : BMKAnnotationView
{
@private
BMKPinAnnotationColor _pinColor;
BOOL _animatesDrop;
}
///大头针的颜色,有BMKPinAnnotationColorRed, BMKPinAnnotationColorGreen, BMKPinAnnotationColorPurple三种
@property (nonatomic) BMKPinAnnotationColor pinColor;
///动画效果
@property (nonatomic) BOOL animatesDrop;
@end
/*
* BMKPointAnnotation.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <Foundation/Foundation.h>
#import "BMKShape.h"
#import <CoreLocation/CLLocation.h>
///表示一个点的annotation
@interface BMKPointAnnotation : BMKShape {
@package
CLLocationCoordinate2D _coordinate;
BOOL _lockedToScreen;
CGPoint _lockedScreenPoint;
}
///该点的坐标
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
///标注固定在指定屏幕位置, 必须与screenPointToLock一起使用。 注意:拖动Annotation isLockedToScreen会被设置为false。
///若isLockedToScreen为true,拖动地图时annotaion不会跟随移动;
///若isLockedToScreen为false,拖动地图时annotation会跟随移动。
@property (nonatomic, assign) BOOL isLockedToScreen;
///标注锁定在屏幕上的位置,注意:地图初始化后才能设置screenPointToLock。可以在地图加载完成的回调方法:mapViewDidFinishLoading中使用此属性。
@property (nonatomic, assign) CGPoint screenPointToLock;
@end
/*
* BMKPolygon.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <Foundation/Foundation.h>
#import "BMKMultiPoint.h"
#import "BMKOverlay.h"
/// 此类用于定义一个多边形区域
@interface BMKPolygon : BMKMultiPoint <BMKOverlay>
/// 设置中空区域,用来创建中间带空洞的复杂图形。注意:传入的overlay只支持BMKPolgon类型和BMKCircle类型. since 5.0.0
@property (nonatomic, strong) NSArray<id<BMKOverlay>> *hollowShapes;
/**
*根据多个点生成多边形
*@param points 直角坐标点数组,这些点将被拷贝到生成的多边形对象中
*@param count points数组中点的个数
*@return 新生成的多边形对象
*/
+ (BMKPolygon *)polygonWithPoints:(BMKMapPoint *)points count:(NSUInteger)count;
/**
*根据多个点生成多边形
*@param coords 经纬度坐标点数组,这些点将被拷贝到生成的多边形对象中
*@param count coords数组中点的个数
*@return 新生成的多边形对象
*/
+ (BMKPolygon *)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
/**
*重新设置多边形顶点
*@param points 指定的直角坐标点数组
*@param count points数组中坐标点的个数
*@return 是否设置成功
*/
- (BOOL)setPolygonWithPoints:(BMKMapPoint *)points count:(NSInteger) count;
/**
*重新设置多边形顶点
*@param coords 指定的经纬度坐标点数组
*@param count coords数组中坐标点的个数
*@return 是否设置成功
*/
- (BOOL)setPolygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSInteger) count;
@end
/*
* BMKPolygonView.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import "BMKPolygon.h"
#import "BMKOverlayGLBasicView.h"
/// 此类用于定义一个多边形View
@interface BMKPolygonView : BMKOverlayGLBasicView
/**
*根据指定的多边形生成一个多边形View
*@param polygon 指定的多边形数据对象
*@return 新生成的多边形View
*/
- (id)initWithPolygon:(BMKPolygon *)polygon;
/// 该View对应的多边形数据
@property (nonatomic, readonly) BMKPolygon *polygon;
@end
/*
* BMKPolyline.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import "BMKMultiPoint.h"
#import "BMKOverlay.h"
/// 此类用于定义一段折线
@interface BMKPolyline : BMKMultiPoint <BMKOverlay>
/// 是否需要对Polyline坐标数据进行抽稀,默认为YES
@property (nonatomic, assign) BOOL isThined;
/**
*根据指定坐标点生成一段折线
*@param points 指定的直角坐标点数组
*@param count points数组中坐标点的个数
*@return 新生成的折线对象
*/
+ (BMKPolyline *)polylineWithPoints:(BMKMapPoint *)points count:(NSUInteger)count;
/**
*根据指定坐标点生成一段折线
*@param coords 指定的经纬度坐标点数组
*@param count coords数组中坐标点的个数
*@return 新生成的折线对象
*/
+ (BMKPolyline *)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
/**
*重新设置折线坐标点
*@param points 指定的直角坐标点数组
*@param count points数组中坐标点的个数
*@return 是否设置成功
*/
- (BOOL)setPolylineWithPoints:(BMKMapPoint *)points count:(NSInteger) count;
/**
*重新设置折线坐标点
*@param coords 指定的经纬度坐标点数组
*@param count coords数组中坐标点的个数
*@return 是否设置成功
*/
- (BOOL)setPolylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSInteger) count;
#pragma mark - 以下方法和属性只适用于分段纹理绘制和分段颜色绘制
///纹理索引数组(颜色索引数组)
@property (nonatomic, strong) NSArray<NSNumber *> *textureIndex;
/**
*分段纹理绘制/分段颜色绘制,根据指定坐标点生成一段折线
*
*分段纹理绘制:其对应的BMKPolylineView必须使用 - (BOOL)loadStrokeTextureImages:(NSArray <UIImage *>*)textureImages; 加载纹理图片;否则使用默认的灰色纹理绘制
*分段颜色绘制:其对应的BMKPolylineView必须设置colors属性
*
*@param points 指定的直角坐标点数组
*@param count points数组中坐标点的个数
*@param textureIndex 纹理索引数组(颜色索引数组),成员为NSNumber,且为非负数,负数按0处理
*@return 新生成的折线对象
*/
+ (BMKPolyline *)polylineWithPoints:(BMKMapPoint *)points count:(NSUInteger)count textureIndex:(NSArray<NSNumber *> *) textureIndex;
/**
*根据指定坐标点生成一段折线
*
*分段纹理绘制:其对应的BMKPolylineView必须使用 - (BOOL)loadStrokeTextureImages:(NSArray <UIImage *>*)textureImages; 加载纹理图片;否则使用默认的灰色纹理绘制
*分段颜色绘制:其对应的BMKPolylineView必须设置colors属性
*
*@param coords 指定的经纬度坐标点数组
*@param count coords数组中坐标点的个数
*@param textureIndex 纹理索引数组(颜色索引数组),成员为NSNumber,且为非负数,负数按0处理
*@return 新生成的折线对象
*/
+ (BMKPolyline *)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count textureIndex:(NSArray<NSNumber *> *) textureIndex;
/**
*重新设置折线坐标点 和 纹理索引
*@param points 指定的直角坐标点数组
*@param count points数组中坐标点的个数
*@param textureIndex 纹理索引数组(颜色索引数组),成员为NSNumber,且为非负数,负数按0处理
*@return 是否设置成功
*/
- (BOOL)setPolylineWithPoints:(BMKMapPoint *)points count:(NSInteger) count textureIndex:(NSArray<NSNumber *> *) textureIndex;
/**
*重新设置折线坐标点
*@param coords 指定的经纬度坐标点数组
*@param count coords数组中坐标点的个数
*@param textureIndex 纹理索引数组(颜色索引数组),成员为NSNumber,且为非负数,负数按0处理
*@return 是否设置成功
*/
- (BOOL)setPolylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSInteger) count textureIndex:(NSArray<NSNumber *> *) textureIndex;
@end
/*
* BMKPolylineView.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import "BMKPolyline.h"
#import "BMKOverlayGLBasicView.h"
/// 此类用于定义一个折线View
@interface BMKPolylineView : BMKOverlayGLBasicView
/**
*根据指定的折线生成一个折线View
*@param polyline 指定的折线数据对象
*@return 新生成的折线View
*/
- (id)initWithPolyline:(BMKPolyline *)polyline;
/// 该View对应的折线数据对象
@property (nonatomic, readonly) BMKPolyline *polyline;
#pragma mark - 以下方法和属性只适用于分段纹理绘制/分段颜色绘制
/// 是否分段纹理/分段颜色绘制(突出显示),默认YES,YES:使用分段纹理绘制 NO:使用默认的灰色纹理绘制
@property (nonatomic, assign) BOOL isFocus __deprecated_msg("已废弃since 5.0.0");
@end
/*
* BMKShape.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <Foundation/Foundation.h>
#import"BMKAnnotation.h"
/// 该类为一个抽象类,定义了基于BMKAnnotation的BMKShape类的基本属性和行为,不能直接使用,必须子类化之后才能使用
@interface BMKShape : NSObject <BMKAnnotation> {
}
/// 要显示的标题;注意:如果不设置title,无法点击annotation,也无法使用回调函数;
@property (copy) NSString *title;
/// 要显示的副标题
@property (copy) NSString *subtitle;
@end
//
// BMKTileLayer.h
// MapComponent
//
// Created by wzy on 15/8/7.
// Copyright © 2015年 baidu. All rights reserved.
//
#ifndef BMKTileLayer_h
#define BMKTileLayer_h
#import "BMKOverlay.h"
/**
@brief 该类是覆盖在球面墨卡托投影上的图片tiles的数据源,是抽象类,不能直接使用该类添加瓦片图,需要使用其子类(BMKURLTileLayer或BMKSyncTileLayer)
*瓦片图片是jpeg或者png格式,size为256x256
*/
@interface BMKTileLayer : NSObject <BMKOverlay>
/// tileLayer的可见最小Zoom值,默认3
@property (nonatomic, assign) NSInteger minZoom;
/// tileLayer的可见最大Zoom值,默认21,且不能小于minZoom
@property (nonatomic, assign) NSInteger maxZoom;
/// tileOverlay的可渲染区域,默认世界范围
@property (nonatomic) BMKMapRect visibleMapRect;
@end
/**
@brief 通过提供url模板的方法,提供数据源。不应该继承该类,且必须通过 initWithURLTemplate: 来初始化
*瓦片图片是jpeg或者png格式,size为256x256
*/
@interface BMKURLTileLayer : BMKTileLayer
/// 同initWithURLTemplate:中的URLTemplate
@property (readonly) NSString *URLTemplate;
/**
@brief 根据指定的URLTemplate生成tileOverlay
@param URLTemplate 是一个包含"{x}","{y}","{z}"的字符串,"{x}","{y}"表示tile的坐标,"{z}"表示当tile显示的级别。"{x}","{y}","{z}"会被tile的坐标值所替换,并生成用来加载tile图片数据的URL 。例如: http://server/path?x={x}&y={y}&z={z}。
@return 以指定的URLTemplate字符串生成tileOverlay
*/
- (id)initWithURLTemplate:(NSString *)URLTemplate;
/**
@brief 清除当前瓦片图层缓存图片
*/
- (BOOL)cleanTileDataCache;
@end
/**
@brief 通过同步方法获取瓦片数据,是一个抽象类,需要通过继承该类,并重载 tileForX:y:zoom: 方法
*瓦片图片是jpeg或者png格式,size为256x256
*/
@interface BMKSyncTileLayer : BMKTileLayer
/**
@brief 通过同步方法获取瓦片数据,子类必须实现该方法
这个方法会在多个线程中调用,需要考虑线程安全
@param x 瓦片坐标
@param y 瓦片坐标
@param zoom 瓦片坐标
@return (x, y, zoom)所对应瓦片的UIImage对象
*/
- (UIImage *)tileForX:(NSInteger)x y:(NSInteger)y zoom:(NSInteger)zoom;
@end
/**
@brief 通过异步方法获取瓦片数据,是一个抽象类,需要通过继承该类,并重载 loadTileForX:y:zoom:result: 方法
*瓦片图片是jpeg或者png格式,size为256x256
*/
@interface BMKAsyncTileLayer : BMKTileLayer
/**
@brief 通过异步方法获取瓦片数据,子类必须实现该方法
@param x 瓦片坐标
@param y 瓦片坐标
@param zoom 瓦片坐标
@param result 用来传入瓦片数据或加载瓦片失败的error访问的回调block
*/
- (void)loadTileForX:(NSInteger)x y:(NSInteger)y zoom:(NSInteger)zoom result:(void (^)(UIImage *tileImage, NSError *error))result;
@end
#endif /* BMKTileLayer_h */
//
// BMKTileLayerView.h
// MapComponent
//
// Created by wzy on 15/8/7.
// Copyright © 2015年 baidu. All rights reserved.
//
#ifndef BMKTileLayerView_h
#define BMKTileLayerView_h
#import "BMKOverlayView.h"
#import "BMKTileLayer.h"
/// 该类用于定义一个BMKTileLayerView
@interface BMKTileLayerView : BMKOverlayView
/**
*@brief 根据指定的tileLayer生成将tiles显示在地图上的View
*@param tileLayer 制定了覆盖图片,以及图片的覆盖区域
*@return 以tileLayer新生成View
*/
- (id)initWithTileLayer:(BMKTileLayer*) tileLayer;
/// 该View对应的tileLayer数据对象
@property (nonatomic, readonly) BMKTileLayer *tileLayer;
@end
#endif /* BMKTileLayerView_h */
\ No newline at end of file
{"cities":[{"4k":0,"bb":4757504,"bl":12849152,"br":13082624,"bt":4994048,"c":[],"cl":2,"dom":1,"frc":1,"h":"bj","i":131,"its":1,"l":12,"n":"北京市","p":"beijing_131","s":45521986,"v":320,"x":12959247,"y":4825323},{"4k":0,"bb":3568640,"bl":13454336,"br":13582336,"bt":3724288,"c":[],"cl":2,"dom":1,"frc":1,"h":"sh","i":289,"its":1,"l":12,"n":"上海市","p":"shanghai_289","s":41108081,"v":320,"x":13523376,"y":3641154},{"4k":0,"bb":2556928,"bl":12574720,"br":12698624,"bt":2728960,"c":[],"cl":2,"dom":1,"frc":1,"h":"gz","i":257,"its":1,"l":12,"n":"广州市","p":"guangzhou_257","s":30107772,"v":320,"x":12609501,"y":2631394},{"4k":0,"bb":3640320,"bl":13176832,"br":13275136,"bt":3822592,"c":[],"cl":2,"dom":1,"frc":1,"h":"nj","i":315,"its":1,"l":12,"n":"南京市","p":"nanjing_315","s":21777532,"v":320,"x":13225203,"y":3748900},{"4k":0,"bb":3379200,"bl":13174784,"br":13440000,"bt":3556352,"c":[],"cl":2,"dom":1,"frc":1,"h":"hz","i":179,"its":1,"l":12,"n":"杭州市","p":"hangzhou_179","s":23401139,"v":320,"x":13376654,"y":3517776},{"4k":0,"bb":3493888,"bl":11468800,"br":11677696,"bt":3667968,"c":[],"cl":2,"dom":1,"frc":1,"h":"cd","i":75,"its":1,"l":12,"n":"成都市","p":"chengdu_75","s":28504148,"v":320,"x":11585284,"y":3567299},{"4k":0,"bb":2523136,"bl":12654592,"br":12764160,"bt":2598912,"c":[],"cl":2,"dom":1,"frc":1,"h":"sz","i":340,"its":1,"l":12,"n":"深圳市","p":"shenzhen_340","s":28685707,"v":320,"x":12697742,"y":2560988},{"bb":2511872,"bl":12670976,"br":12747776,"bt":2564096,"c":[],"cl":2,"dom":1,"frc":2,"gs":63494441,"gv":75,"h":"xgtbxz","i":2912,"its":0,"l":11,"n":"香港特别行政区","p":"xianggangtebiexingzheng_2912","s":63494441,"v":75,"x":12709499,"y":2529064},{"bb":2507776,"bl":12639232,"br":12648448,"bt":2522112,"c":[],"cl":2,"dom":1,"frc":2,"gs":22632328,"gv":75,"h":"amtbxz","i":2911,"its":0,"l":13,"n":"澳门特别行政区","p":"aomentebiexingzheng_2911","s":22632328,"v":75,"x":12640429,"y":2518425}],"dver":333,"fver":1}
\ No newline at end of file
{"cities":[{"i":1,"s":6311577},{"i":33,"s":374657},{"i":34,"s":369346},{"i":35,"s":784583},{"i":36,"s":4001430},{"i":37,"s":824859},{"i":38,"s":161574},{"i":39,"s":827221},{"i":40,"s":513938},{"i":41,"s":1989451},{"i":42,"s":1236080},{"i":43,"s":582875},{"i":44,"s":1363207},{"i":45,"s":516660},{"i":46,"s":814087},{"i":47,"s":374346},{"i":48,"s":8298071},{"i":49,"s":1378713},{"i":50,"s":1836166},{"i":51,"s":1027412},{"i":52,"s":1406803},{"i":53,"s":7802022},{"i":54,"s":1552641},{"i":55,"s":2922503},{"i":56,"s":1274608},{"i":57,"s":816095},{"i":58,"s":11305203},{"i":59,"s":1231027},{"i":60,"s":1334879},{"i":61,"s":1591091},{"i":62,"s":731286},{"i":63,"s":794223},{"i":64,"s":1627312},{"i":65,"s":407298},{"i":66,"s":2318949},{"i":67,"s":142942},{"i":68,"s":191525},{"i":69,"s":427116},{"i":70,"s":75934},{"i":71,"s":85734},{"i":72,"s":61945},{"i":73,"s":394522},{"i":74,"s":2644756},{"i":75,"s":22595419},{"i":76,"s":965040},{"i":77,"s":1478931},{"i":78,"s":1031256},{"i":79,"s":2097352},{"i":80,"s":1311645},{"i":81,"s":890966},{"i":82,"s":333718},{"i":83,"s":777662},{"i":84,"s":116498},{"i":85,"s":838583},{"i":86,"s":1083769},{"i":87,"s":714852},{"i":88,"s":335815},{"i":89,"s":354890},{"i":90,"s":1357614},{"i":91,"s":588366},{"i":92,"s":4842337},{"i":93,"s":1187938},{"i":94,"s":506545},{"i":95,"s":536398},{"i":96,"s":349367},{"i":97,"s":111416},{"i":98,"s":172390},{"i":99,"s":96653},{"i":100,"s":840384},{"i":101,"s":77431},{"i":102,"s":214865},{"i":103,"s":51153},{"i":104,"s":9950066},{"i":105,"s":1416121},{"i":106,"s":1672399},{"i":107,"s":1602884},{"i":108,"s":1072131},{"i":109,"s":960604},{"i":110,"s":748693},{"i":111,"s":2050356},{"i":112,"s":1121533},{"i":113,"s":208741},{"i":114,"s":1410196},{"i":115,"s":353429},{"i":116,"s":829689},{"i":117,"s":663653},{"i":118,"s":603348},{"i":119,"s":12755714},{"i":120,"s":964},{"i":121,"s":1426643},{"i":122,"s":550782},{"i":123,"s":568553},{"i":124,"s":880064},{"i":125,"s":3221357},{"i":126,"s":1654577},{"i":127,"s":7394210},{"i":128,"s":2376756},{"i":129,"s":2209133},{"i":130,"s":2843045},{"i":131,"s":29648081},{"i":132,"s":19676006},{"i":133,"s":1954890},{"i":134,"s":6865312},{"i":135,"s":875771},{"i":136,"s":641010},{"i":137,"s":1959547},{"i":138,"s":11728277},{"i":139,"s":2326966},{"i":140,"s":3604823},{"i":141,"s":2461935},{"i":142,"s":3515475},{"i":143,"s":1377538},{"i":144,"s":845095},{"i":145,"s":1137399},{"i":146,"s":4509862},{"i":147,"s":978397},{"i":148,"s":2733643},{"i":149,"s":2940804},{"i":150,"s":8282513},{"i":151,"s":3209391},{"i":152,"s":2881173},{"i":153,"s":4931275},{"i":154,"s":2202765},{"i":155,"s":1938270},{"i":156,"s":3053534},{"i":157,"s":2437574},{"i":158,"s":10162032},{"i":159,"s":2755455},{"i":160,"s":3384868},{"i":161,"s":6557961},{"i":162,"s":3304197},{"i":163,"s":5894980},{"i":164,"s":815941},{"i":165,"s":1207150},{"i":166,"s":1940242},{"i":167,"s":8019474},{"i":168,"s":1159737},{"i":169,"s":1028703},{"i":170,"s":2224879},{"i":171,"s":1764148},{"i":172,"s":2112686},{"i":173,"s":1916988},{"i":174,"s":1981050},{"i":175,"s":3457026},{"i":176,"s":5584262},{"i":177,"s":1157595},{"i":178,"s":8566717},{"i":179,"s":16817914},{"i":180,"s":11010128},{"i":181,"s":554125},{"i":182,"s":424196},{"i":183,"s":651258},{"i":184,"s":1546128},{"i":185,"s":509978},{"i":186,"s":1759763},{"i":187,"s":5544835},{"i":188,"s":1524043},{"i":189,"s":1682502},{"i":190,"s":1593514},{"i":191,"s":3285355},{"i":192,"s":1962302},{"i":193,"s":1987719},{"i":194,"s":7134897},{"i":195,"s":2033135},{"i":196,"s":1034064},{"i":197,"s":2382911},{"i":198,"s":3073835},{"i":199,"s":1443961},{"i":200,"s":1761123},{"i":201,"s":1353539},{"i":202,"s":891193},{"i":203,"s":1460594},{"i":204,"s":741522},{"i":205,"s":1256694},{"i":206,"s":1134183},{"i":207,"s":1865890},{"i":208,"s":2028198},{"i":209,"s":1692170},{"i":210,"s":2113204},{"i":211,"s":1676765},{"i":212,"s":1309868},{"i":213,"s":2255001},{"i":214,"s":2462095},{"i":215,"s":954228},{"i":216,"s":1750067},{"i":217,"s":1391014},{"i":218,"s":14010848},{"i":219,"s":2390757},{"i":220,"s":2692880},{"i":221,"s":1305516},{"i":222,"s":2369082},{"i":223,"s":4992249},{"i":224,"s":18113276},{"i":225,"s":988679},{"i":226,"s":1460234},{"i":227,"s":1107957},{"i":228,"s":1139500},{"i":229,"s":3011889},{"i":230,"s":330500},{"i":231,"s":1936052},{"i":232,"s":454440},{"i":233,"s":12641182},{"i":234,"s":5106224},{"i":235,"s":1830035},{"i":236,"s":10898447},{"i":237,"s":924045},{"i":238,"s":1898538},{"i":239,"s":1149901},{"i":240,"s":3619019},{"i":241,"s":1346873},{"i":242,"s":970164},{"i":243,"s":1958184},{"i":244,"s":5941931},{"i":245,"s":1311427},{"i":246,"s":551868},{"i":247,"s":199815},{"i":248,"s":1033336},{"i":249,"s":2206216},{"i":250,"s":1181949},{"i":251,"s":1638454},{"i":252,"s":1372895},{"i":253,"s":1001030},{"i":254,"s":1776821},{"i":255,"s":3245232},{"i":256,"s":554223},{"i":257,"s":23003567},{"i":258,"s":1102103},{"i":259,"s":2364490},{"i":260,"s":884498},{"i":261,"s":7723677},{"i":262,"s":2626827},{"i":263,"s":1037991},{"i":264,"s":2618021},{"i":265,"s":4997939},{"i":266,"s":2717502},{"i":267,"s":2461329},{"i":268,"s":13105068},{"i":269,"s":2502978},{"i":270,"s":2504317},{"i":271,"s":2492227},{"i":272,"s":1550081},{"i":273,"s":1854134},{"i":274,"s":924350},{"i":275,"s":1654833},{"i":276,"s":4064925},{"i":277,"s":3098400},{"i":278,"s":2256436},{"i":279,"s":656010},{"i":280,"s":1468699},{"i":281,"s":1880239},{"i":282,"s":1625886},{"i":283,"s":1784699},{"i":284,"s":1136246},{"i":285,"s":715547},{"i":286,"s":4220643},{"i":287,"s":6837477},{"i":288,"s":8469972},{"i":289,"s":32715397},{"i":290,"s":1222772},{"i":291,"s":3031438},{"i":292,"s":1870406},{"i":293,"s":5310986},{"i":294,"s":3677074},{"i":295,"s":1600856},{"i":296,"s":2703213},{"i":297,"s":1932482},{"i":298,"s":1793238},{"i":299,"s":888934},{"i":300,"s":8345872},{"i":301,"s":5210250},{"i":302,"s":4155961},{"i":303,"s":3290991},{"i":304,"s":1341341},{"i":305,"s":3108852},{"i":306,"s":1248891},{"i":307,"s":5825971},{"i":308,"s":2394732},{"i":309,"s":4038472},{"i":310,"s":1749123},{"i":311,"s":1295332},{"i":312,"s":833051},{"i":313,"s":1931997},{"i":314,"s":1415182},{"i":315,"s":12814423},{"i":316,"s":6727373},{"i":317,"s":10118742},{"i":318,"s":1926887},{"i":319,"s":1545388},{"i":320,"s":2369965},{"i":321,"s":3760084},{"i":322,"s":724486},{"i":323,"s":2077916},{"i":324,"s":959952},{"i":325,"s":2823025},{"i":326,"s":6219747},{"i":327,"s":1335595},{"i":328,"s":2369617},{"i":329,"s":1584369},{"i":330,"s":1551149},{"i":331,"s":1688147},{"i":332,"s":13147270},{"i":333,"s":6920550},{"i":334,"s":5918167},{"i":335,"s":638858},{"i":336,"s":1065255},{"i":337,"s":707319},{"i":338,"s":2725458},{"i":339,"s":1030030},{"i":340,"s":21386101},{"i":341,"s":1430876},{"i":342,"s":1454867},{"i":343,"s":1040534},{"i":344,"s":1391683},{"i":345,"s":1617952},{"i":346,"s":4714271},{"i":347,"s":3554536},{"i":348,"s":8007707},{"i":349,"s":3096983},{"i":350,"s":975243},{"i":351,"s":1179307},{"i":352,"s":1452857},{"i":353,"s":2610672},{"i":354,"s":4265964},{"i":355,"s":1657013},{"i":356,"s":1898936},{"i":357,"s":866885},{"i":358,"s":1128564},{"i":359,"s":741347},{"i":360,"s":3175491},{"i":361,"s":2067557},{"i":362,"s":1298603},{"i":363,"s":1762962},{"i":364,"s":2630621},{"i":365,"s":3856911},{"i":366,"s":2009723},{"i":367,"s":1262234},{"i":368,"s":2251675},{"i":369,"s":1704042},{"i":370,"s":1668790},{"i":371,"s":976348},{"i":372,"s":2425437},{"i":373,"s":1369455},{"i":1277,"s":571535},{"i":2911,"s":554211},{"i":2912,"s":5020758}],"fver":1,"dver":20150320}
\ No newline at end of file
{"std": 10, "c": 522, "stg": 11, "assets": [{"path": "mode_1/map.rs", "version": 36}, {"path": "mode_1/map.sty", "version": 496}, {"path": "mode_1/reduct.rs", "version": 12}, {"path": "mode_1/reduct.sty", "version": 323}, {"path": "mode_1/traffic.rs", "version": 291}, {"path": "mode_1/traffic.sty", "version": 1116}], "stc": 1253, "h": 456, "idrresver": 133, "sc": 20160613, "gd": 79, "didr": 1194, "idrcfgver": 1135, "idrs": 14, "d": 522}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment