TencentMapSDK_iOS_3D_v6.4.0
载入中...
搜索中...
未找到
QUserLocationPresentation.h
1//
2// QUserLocationPresentation.h
3// QMapKit
4//
5// Created by tabsong on 2017/6/26.
6// Copyright © 2017年 tencent. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <UIKit/UIKit.h>
11#import <CoreLocation/CoreLocation.h>
12
19
23@property (nonatomic, strong) UIImage *compassImage;
24
28@property (nonatomic, strong) UIImage *directionNorth;
29
33@property (nonatomic, strong) UIImage *directionSouth;
34
38@property (nonatomic, strong) UIImage *directionEast;
39
43@property (nonatomic, strong) UIImage *directionWest;
44
45@end
46
50@interface QNavigationGravityLine : NSObject
51
55@property (nonatomic, assign) CGFloat width;
56
60@property (nonatomic, strong) UIColor *color;
61
65@property (nonatomic, assign) CLLocationCoordinate2D destination;
66
67@end
68
69
73@interface QUserLocationPresentation : NSObject
74
78@property (nonatomic, strong) UIImage *icon;
79
83@property (nonatomic, strong) UIColor *circleFillColor;
84
88@property (nonatomic, strong) QUserLocationCompassPresentation *compass;
89
93@property (nonatomic, strong) QNavigationGravityLine *gravityLine;
94
95@end
用户导航红线自定义样式类
定义 QUserLocationPresentation.h:51
CGFloat width
导航红线宽度.
定义 QUserLocationPresentation.h:55
CLLocationCoordinate2D destination
导航红线终点.
定义 QUserLocationPresentation.h:65
UIColor * color
导航红线颜色.
定义 QUserLocationPresentation.h:60
用户定位罗盘图标自定义样式类 1)显示罗盘方向,四个图片必须全量设置, 且不能为nil 2)隐藏罗盘方向,需将罗盘的四个方向图片同时设置为nil
定义 QUserLocationPresentation.h:19
UIImage * directionSouth
罗盘正南位图片.
定义 QUserLocationPresentation.h:33
UIImage * compassImage
罗盘图标.
定义 QUserLocationPresentation.h:23
UIImage * directionNorth
罗盘正北位图片.
定义 QUserLocationPresentation.h:28
UIImage * directionEast
罗盘正东位图片.
定义 QUserLocationPresentation.h:38
UIImage * directionWest
罗盘正西位图片.
定义 QUserLocationPresentation.h:43
用户定位图标自定义样式类
定义 QUserLocationPresentation.h:74
QUserLocationCompassPresentation * compass
定位圈罗盘.
定义 QUserLocationPresentation.h:88
UIColor * circleFillColor
定位圈的填充色.
定义 QUserLocationPresentation.h:83
UIImage * icon
定位图标.
定义 QUserLocationPresentation.h:78
QNavigationGravityLine * gravityLine
定位圈红线.
定义 QUserLocationPresentation.h:93