TencentMapSDK_iOS_3D_v6.8.0

载入中...
搜索中...
未找到
QMapView+Config.h
1//
2// QMapView+Config.h
3// QMapKit
4//
5// Created by Zhang Tian on 2018/5/9.
6// Copyright © 2018年 tencent. All rights reserved.
7//
8
9#import <QMapKit/QMapKit.h>
10#import "QOverseaProvider.h"
11#import "QNew3DImmersiveConfig.h"
12
13@class QTrafficStyle;
14
18@interface QMapConfig : NSObject
19
23@property (nonatomic, copy, readonly) NSString *subID;
24
28@property (nonatomic, copy, readonly) NSString *subKey;
29
33@property (nonatomic, copy) NSString *mapFont;
34
38@property (nonatomic, copy) NSDictionary *preset;
39
43@property (nonatomic, assign) int overseaSourceType;
44
48@property (nonatomic, strong) QTrafficStyle *trafficStyle;
49
53@property (nonatomic, assign) BOOL enableMSAA;
54
58@property (nonatomic, strong) QNew3DImmersiveConfig *qNew3DImmersiveConfig;
59
60
68- (instancetype)initWithSubID:(NSString *)subID subKey:(NSString *)subKey;
69
70@end
71
75@interface QMapView (Config)
76
84- (instancetype)initWithFrame:(CGRect)frame config:(QMapConfig *)config;
85
91- (void)setOverseaSource:(QOverseaProvider*)provider;
92
93@end
94
98@interface QTrafficStyle : NSObject
99
101@property (nonatomic, strong) UIColor *smoothColor;
102
104@property (nonatomic, strong) UIColor *smoothBorderColor;
105
107@property (nonatomic, strong) UIColor *slowColor;
108
110@property (nonatomic, strong) UIColor *slowBorderColor;
111
113@property (nonatomic, strong) UIColor *congestedColor;
114
116@property (nonatomic, strong) UIColor *congestedBorderColor;
117
119@property (nonatomic, strong) UIColor *seriouseCongestedColor;
120
122@property (nonatomic, strong) UIColor *seriouseCongestedBorderColor;
123
125@property (nonatomic, assign) int borderWidth;
126
128@property (nonatomic, assign) int lineWidth;
129
130@end
QMapConfig
地图View的配置.
定义 QMapView+Config.h:19
QMapConfig::enableMSAA
BOOL enableMSAA
是否启动MSAA，默认为NO
定义 QMapView+Config.h:53
QMapConfig::subKey
NSString * subKey
附加 key, 这里目前是为小程序提供, 需要小程序开发者传入申请的 key.
定义 QMapView+Config.h:28
QMapConfig::overseaSourceType
int overseaSourceType
配置其它的海外图源, 默认为0使用内置
定义 QMapView+Config.h:43
QMapConfig::qNew3DImmersiveConfig
QNew3DImmersiveConfig * qNew3DImmersiveConfig
3D沉浸式地图样式配置
定义 QMapView+Config.h:58
QMapConfig::subID
NSString * subID
附加 appId, 这里目前是为小程序提供, 传入小程序的 appId.
定义 QMapView+Config.h:23
QMapConfig::trafficStyle
QTrafficStyle * trafficStyle
自定义路况样式配置项
定义 QMapView+Config.h:48
QMapConfig::mapFont
NSString * mapFont
附加 地图字体, nil则使用默认字体
定义 QMapView+Config.h:33
QMapConfig::preset
NSDictionary * preset
自定义配置
定义 QMapView+Config.h:38
QNew3DImmersiveConfig
定义 QNew3DImmersiveConfig.h:22
QOverseaProvider
自定义图源的设置类
定义 QOverseaProvider.h:19
QTrafficStyle
自定义路况样式
定义 QMapView+Config.h:99
QTrafficStyle::smoothBorderColor
UIColor * smoothBorderColor
交通顺畅描边配色
定义 QMapView+Config.h:104
QTrafficStyle::slowBorderColor
UIColor * slowBorderColor
交通缓慢描边配色
定义 QMapView+Config.h:110
QTrafficStyle::lineWidth
int lineWidth
线宽度
定义 QMapView+Config.h:128
QTrafficStyle::borderWidth
int borderWidth
描边宽度
定义 QMapView+Config.h:125
QTrafficStyle::seriouseCongestedBorderColor
UIColor * seriouseCongestedBorderColor
交通非常拥堵描边配色
定义 QMapView+Config.h:122
QTrafficStyle::congestedColor
UIColor * congestedColor
交通拥堵配色
定义 QMapView+Config.h:113
QTrafficStyle::slowColor
UIColor * slowColor
交通缓慢配色
定义 QMapView+Config.h:107
QTrafficStyle::smoothColor
UIColor * smoothColor
交通顺畅配色
定义 QMapView+Config.h:101
QTrafficStyle::seriouseCongestedColor
UIColor * seriouseCongestedColor
交通非常拥堵配色
定义 QMapView+Config.h:119
QTrafficStyle::congestedBorderColor
UIColor * congestedBorderColor
交通拥堵描边配色
定义 QMapView+Config.h:116