TencentMapSDK_iOS_3D_v6.8.0

载入中...
搜索中...
未找到
QMapView.h
1//
2// QMapView.h
3// QMapKit
4//
5// Created by tabsong on 17/5/15.
6// Copyright © 2017年 tencent. All rights reserved.
7//
8
9#import <UIKit/UIKit.h>
10#import "QGeometry.h"
11#import "QAnnotation.h"
12#import "QAnnotationView.h"
13#import "QOverlayView.h"
14#import "QBasicMapViewLayer.h"
15#import "QTypes.h"
16#import "QUserLocationPresentation.h"
17#import "QTileOverlay.h"
18#import "QCustomLayer.h"
19#import "QAOILayer.h"
20#import "QText.h"
21#import "QMarker.h"
22#import "QMarkerViewDefines.h"
23#import "QMaskingLayer.h"
24
25 typedef NS_ENUM(NSInteger, QUserTrackingMode)
26{
27 QUserTrackingModeNone = 0,
28 QUserTrackingModeFollow = 1,
29 QUserTrackingModeFollowWithHeading = 2
30};
31
32 typedef NS_ENUM(NSUInteger, QMapLogoAnchor)
33{
34 QMapLogoAnchorRightBottom = 0,
35 QMapLogoAnchorLeftBottom,
36 QMapLogoAnchorLeftTop,
37 QMapLogoAnchorRightTop,
38 QMapLogoAnchorMax
39};
40
41@class QUserLocation, QPolygon;
42@class QTrafficStyle;
43@protocol QMapViewDelegate;
44
45
46#pragma mark - QMapView
47
51@interface QMapView : UIView
52
58@property (nonatomic, assign, getter = isHandDrawMapEnabled) BOOL handDrawMapEnabled;
59
63@property (nonatomic, assign) BOOL showsTraffic;
64
69- (void)setTrafficStyle:(QTrafficStyle *)trafficStyle;
70
71#pragma mark - Resources
72
78+ (void)loadPrefferedResourceFilesFromDirectory:(NSString *)path;
79
80#pragma mark - Basic
81
85@property (nonatomic, weak) id<QMapViewDelegate> delegate;
86
87/*@
88 * @brief 地图类型
89 */
90@property (nonatomic, assign) QMapType mapType;
91
92
100- (void)setStyleType:(QMapStyleType)styleType DEPRECATED_ATTRIBUTE;
101
107- (void)setMapStyle:(int)styleType;
108
112@property (nonatomic) BOOL showsScale;
113
117@property (nonatomic) BOOL showsBuildings;
118
122@property (nonatomic) BOOL shows3DBuildings;
123
127@property (nonatomic) BOOL showsPoi;
128
134@property (nonatomic) QMapLabelSize labelSize;
135
139@property (nonatomic) BOOL showsBaseMap;
140
144@property (nonatomic) BOOL showsCompass;
145
149@property (nonatomic) NSInteger preferredFramesPerSecond;
150
154- (void)setCompassOffset:(CGPoint)offset;
155
164- (void)setForeignLanguage:(QMapLanguage)language;
165
169- (void)setWorldMapEnable:(BOOL)enable;
170
174- (void)setMapViewRenderWhenDetachedFromWindowEnabled:(BOOL)enabled;
175
179- (void)setMapViewRenderWhenAppInactiveEnabled:(BOOL)enabled;
180
184- (void)setCenterOffsetY:(float)offset __attribute__ ((deprecated("use - (void)setCenterOffsetV2:(CGPoint)offset animated:(BOOL)animated instead")));
185
189- (void)setCenterOffset:(CGPoint)offset __attribute__ ((deprecated("use - (void)setCenterOffsetV2:(CGPoint)offset animated:(BOOL)animated instead")));
190
197- (void)setCenterOffset:(CGPoint)offset animated:(BOOL)animated __attribute__ ((deprecated("use - (void)setCenterOffsetV2:(CGPoint)offset animated:(BOOL)animated instead")));
198
202@property(nonatomic) CGPoint centerOffsetV2;
203
210- (void)setCenterOffsetV2:(CGPoint)offset animated:(BOOL)animated;
211
217- (void)setLogoOffset:(CGPoint)offset DEPRECATED_ATTRIBUTE;
218
225- (void)setLogoMargin:(CGPoint)margin anchor:(QMapLogoAnchor)anchor;
226
232- (void)setLogoScale:(CGFloat)scale;
233
234
238@property (nonatomic, assign) CGPoint logoCenter;
239
243@property (nonatomic, readonly) CGSize logoSize;
244
250- (void)setScaleViewOffset:(CGPoint)offset;
251
255@property (nonatomic, assign) CGPoint scaleOrigin;
256
260@property (nonatomic, readonly) CGSize scaleSize;
261
266- (void) setScaleViewFadeEnable:(BOOL)enable;
267
273- (void)setRoadEventVisible:(BOOL)visible DEPRECATED_ATTRIBUTE;
274
280- (void)setBuildingBlackList:(QMapRect*)noBuildingList count:(int)count;
281
287@property (nonatomic, readonly) QBasicMapViewLayer *animationLayer;
288
293- (void)setGLMapDefaultGroundColor:(UIColor *)defaultColor;
294
295#pragma mark - MapStatus
296
300@property (nonatomic, assign) CLLocationCoordinate2D centerCoordinate;
301
308- (void)setCenterCoordinate:(CLLocationCoordinate2D)coordinate animated:(BOOL)animated;
309
313@property (nonatomic, assign) CGFloat zoomLevel;
314
318@property (nonatomic, readonly) CGFloat minZoomLevel;
319
323@property (nonatomic, readonly) CGFloat maxZoomLevel;
324
331- (void)setMinZoomLevel:(CGFloat)minZoomLevel maxZoomLevel:(CGFloat)maxZoomLevel;
332
338- (void)setZoomLevelMultiplierForZoomIn:(CGFloat)zoomInMultiplier zoomOut:(CGFloat)zoomOutMultiplier;
339
346- (void)setZoomLevel:(CGFloat)zoomLevel animated:(BOOL)animated;
347
351@property (nonatomic, assign) CGFloat rotation;
352
359- (void)setRotation:(CGFloat)rotation animated:(BOOL)animated;
360
364@property (nonatomic, assign) CGFloat overlooking;
365
370- (void)enableAutoMaxOverlooking:(BOOL)enable;
371
378- (void)setOverlooking:(CGFloat)overlooking animated:(BOOL)animated;
379
383@property (nonatomic) QMapRect visibleMapRect;
384
392- (void)setVisibleMapRect:(QMapRect)mapRect animated:(BOOL)animated;
393
402- (void)setVisibleMapRect:(QMapRect)mapRect edgePadding:(UIEdgeInsets)insets animated:(BOOL)animated;
403
407@property (nonatomic) QCoordinateRegion region;
408
416- (void)setRegion:(QCoordinateRegion)region animated:(BOOL)animated;
417
426- (void)setRegion:(QCoordinateRegion)region edgePadding:(UIEdgeInsets)insets animated:(BOOL)animated;
427
434- (QMapRect)mapRectThatFits:(QMapRect)mapRect edgePadding:(UIEdgeInsets)insets;
435
445- (QMapRect)mapRectThatFits: (QMapRect)mapRect
446 containsCalloutView:(BOOL)bContainsCalloutView
447 annotations:(NSArray<id<QAnnotation> >*)annotations
448 edgePadding:(UIEdgeInsets)insets;
449
457- (CGFloat)zoomLevelThatFits:(QMapRect)mapRect edgePadding:(UIEdgeInsets)insets outCenterCoordinate:(CLLocationCoordinate2D *)outCoordinate;
458
465-(void)setLimitMapRect:(QMapRect)mapRect mode:(QMapLimitRectFitMode)mode;
466
471- (float *)glViewMatrix;
472
477- (float *)glProjectionMatrix;
478
484- (CGPoint)glVertexForCoordinate:(CLLocationCoordinate2D)coordinate;
485
490- (CGFloat)glPointRatio;
491
495@property (nonatomic, readonly) double metersPerPointAtCurrentZoomLevel;
496
503- (double)metersPerPointAtLatitude:(CLLocationDegrees)latitude zoomLevel:(CGFloat)zoomLevel;
504
505#pragma mark - Gesture Control
506
510@property(nonatomic, getter=isZoomEnabled) BOOL zoomEnabled;
511
512/*
513 * @brief 以地图中心为中心, 默认为NO（即以手势为中心）
514 */
515@property (nonatomic, assign, getter = isKeepCenterDuringZoom) BOOL keepCenterDuringZoom;
516
520@property(nonatomic, getter=isScrollEnabled) BOOL scrollEnabled;
521
525@property (nonatomic, assign, getter=isOverlookingEnabled) BOOL overlookingEnabled;
526
530@property (nonatomic, assign, getter=isRotateEnabled) BOOL rotateEnabled;
531
540@property (nonatomic, assign) BOOL alwaysTriggerDidTapCoordinateEnabled;
541
542#pragma mark - Coordinate Convert
543
551- (CGPoint)convertCoordinate:(CLLocationCoordinate2D)coordinate toPointToView:(UIView *)view;
552
560- (CLLocationCoordinate2D)convertPoint:(CGPoint)point toCoordinateFromView:(UIView *)view;
561
569- (CGRect)convertRegion:(QCoordinateRegion)region toRectToView:(UIView *)view;
570
578- (QCoordinateRegion)convertRect:(CGRect)rect toRegionFromView:(UIView *)view;
579
580@end
581
585@interface QMapView (UserLocation)
586
590@property (nonatomic, readonly) QUserLocationPresentation *userLocatorPresentation;
591
597- (void)configureUserLocationPresentation:(QUserLocationPresentation *)presentation;
598
602@property (nonatomic, assign) BOOL showsUserLocation;
603
607@property (nonatomic, assign) QOverlayLevel locatorDisplayLevel;
608
614@property (nonatomic, assign) int locatorZIndex;
615
619@property (nonatomic, readonly) QUserLocation *userLocation;
620
624@property (nonatomic) CLLocationAccuracy desiredAccuracy;
625
629@property (nonatomic) CLLocationDistance distanceFilter;
630
631
635@property (nonatomic) CLLocationDegrees headingFilter;
636
640@property(assign, nonatomic) BOOL allowsBackgroundLocationUpdates;
641
645@property(assign, nonatomic) BOOL pausesLocationUpdatesAutomatically;
646
650@property(nonatomic, readonly) CLAccuracyAuthorization accuracyAuthorization API_AVAILABLE(ios(14));
651
655@property(nonatomic, readonly) CLAuthorizationStatus authorizationStatus API_AVAILABLE(ios(14));
656
660@property (nonatomic) QUserTrackingMode userTrackingMode;
661
668- (void)setUserTrackingMode:(QUserTrackingMode)mode animated:(BOOL)animated;
669
673@property (nonatomic, readonly, getter=isUserLocationVisible) BOOL userLocationVisible;
674
678- (void)setUserLocationHidden:(BOOL)hidden;
679
683- (void)setUserLocationCompassHidden:(BOOL)hidden;
684
688- (void)setUserLocationNavigationGravitylineHidden:(BOOL)hidden;
689
694- (void)requestTempPrecisedLocation:(QMapView *)mapView purposeKey:(NSString *)key completion:(void(^)(NSError * error))completion API_AVAILABLE(ios(14));
695
696@end
697
701@interface QMapView (Annotation)
702
706@property(nonatomic, readonly) NSArray *annotations;
707
713@property (nonatomic, copy) NSArray<id<QAnnotation>> *selectedAnnotations;
714
720- (NSSet<id <QAnnotation>> *)annotationsInMapRect:(QMapRect)mapRect;
721
727- (void)addAnnotation:(id <QAnnotation>)annotation;
728
733- (void)addAnnotations:(NSArray *)annotations;
734
739- (void)removeAnnotation:(id <QAnnotation>)annotation;
740
745- (void)removeAnnotations:(NSArray *)annotations;
746
752- (QAnnotationView *)viewForAnnotation:(id <QAnnotation>)annotation;
753
759- (QAnnotationView *)dequeueReusableAnnotationViewWithIdentifier:(NSString *)identifier;
760
767- (void)bringAnnotationToFront:(id <QAnnotation>)annotation DEPRECATED_ATTRIBUTE;
768
774- (void)selectAnnotation:(id <QAnnotation>)annotation animated:(BOOL)animated;
775
781- (void)deselectAnnotation:(id <QAnnotation>)annotation animated:(BOOL)animated;
782
789- (void)showAnnotations:(NSArray<id<QAnnotation>> *)annotations edgePadding:(UIEdgeInsets)insets animated:(BOOL)animated;
790
791@end
792
793
794#pragma mark - Overlay
795
799@interface QMapView (Overlay)
800
804@property (nonatomic, readonly) NSArray *overlays;
805
810- (void)addOverlay:(id <QOverlay>)overlay;
811
816- (void)addOverlays:(NSArray<id <QOverlay>> *)overlays;
817
823- (void)addMultiPolygons:(NSArray <QPolygon *> *)polygons;
824
829- (void)removeOverlay:(id <QOverlay>)overlay;
830
835- (void)removeOverlays:(NSArray<id <QOverlay>> *)overlays;
836
842- (QOverlayView *)viewForOverlay:(id <QOverlay>)overlay;
843
850- (void)showOverlays:(NSArray<id<QOverlay>> *)overlays edgePadding:(UIEdgeInsets)insets animated:(BOOL)animated;
851
858- (void)showQMarkers:(NSArray<QMarker *> *)markers edgePadding:(UIEdgeInsets)insets animated:(BOOL)animated;
859
860@end
861
862
863#pragma mark - CustomLayer
864
868@interface QMapView (CustomLayer)
869
874- (void)addCustomLayer:(QCustomLayer *)layer;
875
880- (void)removeCustomLayer:(QCustomLayer *)layer;
881
882@end
883
884#pragma mark - POILayer
885
886@interface QMapView (AOILayer)
887
893
894- (void)addAOILayer:(QAOILayer *)layer callback:(void(^)(BOOL success))callback;
895
900- (void)removeAOILayer:(QAOILayer *)layer;
901
902@end
903
904#pragma mark - QMaskingLayer
905
906@interface QMapView (QMaskingLayer)
907
909- (void)addMaskingLayer:(QMaskingLayer *)layer;
910
912- (void)updateMaskingLayer:(QMaskingLayer *)layer;
913
915- (void)removeMaskingLayer:(QMaskingLayer *)layer;
916
918@property (nonatomic, readonly) NSArray <QMaskingLayer *> *maskingLayers;
919
920@end
921
922
923#pragma mark - Snapshot
927@interface QMapView (Snapshot)
928
934- (UIImage *)takeSnapshot __attribute__ ((deprecated("use - (void)takeSnapshotInRect:(CGRect)rect completion:(void (^)(UIImage *resultImage))completion instead")));
935
942- (void)takeSnapshotInRect:(CGRect)rect completion:(void (^)(UIImage *resultImage))completion;
943
951- (void)takeSnapshotInRect:(CGRect)rect timeout:(CFTimeInterval)timeout completion:(void (^)(UIImage *resultImage))completion;
952
961- (void)takeSnapshotInRect:(CGRect)rect timeout:(CFTimeInterval)timeout afterScreenUpdates:(BOOL)afterUpdates completion:(void (^)(UIImage *resultImage))completion;
962
963@end
964
965#pragma mark - QPoiInfo
966
970@interface QPoiInfo : NSObject
971
975@property (nonatomic, copy) NSString *uid;
976
980@property (nonatomic, copy) NSString *name;
981
985@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
986
987@end
988
992@interface QIndoorPoiInfo : QPoiInfo
993
997@property (nonatomic, copy) NSString *levelName;
998
1002@property (nonatomic, copy) NSString *buildingGUID;
1003
1007@property (nonatomic, copy) NSString *buildingName;
1008
1009@end
1010
1015@interface QPointEventInfo : QPoiInfo
1016
1020@property (nonatomic, copy) NSString *source;
1021
1025@property (nonatomic, copy) NSString *eventName;
1026
1030@property (nonatomic, copy) NSString *road;
1031
1035@property (nonatomic, copy) NSString *detail;
1036
1040@property (nonatomic, assign) NSTimeInterval startTime;
1041
1045@property (nonatomic, assign) NSTimeInterval endTime;
1046
1050@property (nonatomic, assign) NSTimeInterval updateTime;
1051
1052@end
1053
1058
1059@interface QSubPoiInfo : QPoiInfo
1060
1064@property (nonatomic, copy) NSString *parentID;
1065
1066@end
1067
1071@interface QMapView (Debug)
1072
1076- (NSString *)getDebugError;
1077
1078@end
1079
1080@interface QMapView (Cache)
1081
1085+ (void)clearMapCache;
1086
1087@end
1088
1089#pragma mark - QMapViewDelegate
1090
1094@protocol QMapViewDelegate <NSObject>
1095
1096@optional
1097
1103- (void)mapViewAuthenticationDidComplete:(QMapView *)mapView;
1104
1113- (void)mapViewAuthentication:(QMapView *)mapView didFailWithError:(NSError *)error;
1114
1120- (void)mapViewInitComplete:(QMapView *)mapView;
1121
1127- (void)mapViewFirstRenderDidComplete:(QMapView *)mapView;
1128
1133- (void)mapViewStatusChangesCompleted:(QMapView *)mapView;
1134
1139- (void)mapViewDidMoveToCameraRestricted:(QMapView *)mapView;
1140
1147- (void)mapViewDidFailLoadingMap:(QMapView *)mapView withError:(NSError *)error;
1148
1155- (void)mapView:(QMapView *)mapView regionWillChangeAnimated:(BOOL)animated gesture:(BOOL)bGesture;
1156
1161- (void)mapViewRegionChange:(QMapView *)mapView;
1162
1169- (void)mapView:(QMapView *)mapView regionDidChangeAnimated:(BOOL)animated gesture:(BOOL)bGesture;
1170
1177- (void)mapView:(QMapView *)mapView willMoveAnimated:(BOOL)animated gesture:(BOOL)bGesture;
1178
1185- (void)mapView:(QMapView *)mapView didMoveAnimated:(BOOL)animated gesture:(BOOL)bGesture;
1186
1193- (void)mapView:(QMapView *)mapView willZoomAnimated:(BOOL)animated gesture:(BOOL)bGesture;
1194
1201- (void)mapView:(QMapView *)mapView didZoomAnimated:(BOOL)animated gesture:(BOOL)bGesture;
1202
1209- (void)mapView:(QMapView *)mapView scaleViewChanged:(CGFloat)unitLength;
1210
1216- (void)mapView:(QMapView *)mapView gestureDidTrigger:(QGestureType)gestureType;
1217
1225- (void)mapView:(QMapView *)mapView gestureDidEnd:(QGestureType)gestureType;
1226
1231- (void)mapViewDrawFrame:(QMapView *)mapView;
1232
1237- (void)mapUpdateFinished:(QMapView *)mapView;
1238
1244- (void)mapView:(QMapView *)mapView didTapAtCoordinate:(CLLocationCoordinate2D)coordinate;
1245
1251- (void)mapView:(QMapView *)mapView didTapPoi:(QPoiInfo *)poi;
1252
1258- (void)mapView:(QMapView *)mapView didTapOverlay:(id<QOverlay>)overlay __attribute__ ((deprecated("use - (void)mapView:(QMapView *)mapView didTapOverlay:(id<QOverlay>)overlay coordinate:(CLLocationCoordinate2D)coordinate instead")));
1259
1268- (void)mapView:(QMapView *)mapView didTapOverlay:(id<QOverlay>)overlay coordinate:(CLLocationCoordinate2D)coordinate;
1269
1275- (void)mapView:(QMapView *)mapView didTapMarkerOverlayCallout:(QMarker *)markerOverlay;
1276
1285- (void)mapView:(QMapView *)mapView markerOverlay:(QMarker *)markerOverlay didChangeDragState:(QMarkerViewDragState)newState
1286 fromOldState:(QMarkerViewDragState)oldState;
1287
1293- (void)mapView:(QMapView *)mapView didTapMyLocation:(CLLocationCoordinate2D)location;
1294
1301- (QAnnotationView *)mapView:(QMapView *)mapView viewForAnnotation:(id <QAnnotation>)annotation;
1302
1309- (UIView *)mapView:(QMapView *)mapView customCalloutForAnnotationView:(QAnnotationView *)annotationView;
1310
1316- (void)mapView:(QMapView *)mapView didAddAnnotationViews:(NSArray<QAnnotationView *> *)views;
1317
1323- (void)mapView:(QMapView *)mapView didSelectAnnotationView:(QAnnotationView *)view;
1324
1330- (void)mapView:(QMapView *)mapView didAnnotationViewTapped:(QAnnotationView *)view;
1331
1337- (void)mapView:(QMapView *)mapView didDeselectAnnotationView:(QAnnotationView *)view;
1338
1345- (void)mapView:(QMapView *)mapView annotationView:(QAnnotationView *)view collidedViewsDidShow:(NSArray <UIView *> *)shownViews;
1346
1353- (void)mapView:(QMapView *)mapView annotationView:(QAnnotationView *)view collidedViewsDidHide:(NSArray <UIView *> *)hiddenViews;
1354
1363- (void)mapView:(QMapView *)mapView annotationView:(QAnnotationView *)view didChangeDragState:(QAnnotationViewDragState)newState
1364 fromOldState:(QAnnotationViewDragState)oldState;
1365
1373- (void)mapView:(QMapView *)mapView annotationView:(QAnnotationView *)view calloutAccessoryControlTapped:(UIControl *)control;
1374
1380- (void)mapView:(QMapView *)mapView annotationViewCalloutTapped:(QAnnotationView *)view;
1381
1388- (QOverlayView *)mapView:(QMapView *)mapView viewForOverlay:(id <QOverlay>)overlay;
1389
1395- (void)mapView:(QMapView *)mapView didAddOverlayViews:(NSArray *)overlayViews;
1396
1401- (void)mapViewWillStartLocatingUser:(QMapView *)mapView;
1402
1407- (void)mapViewDidStopLocatingUser:(QMapView *)mapView;
1408
1415- (void)mapView:(QMapView *)mapView didUpdateUserLocation:(QUserLocation *)userLocation fromHeading:(BOOL)fromHeading;
1421- (void)mapView:(QMapView *)mapView didFailToLocateUserWithError:(NSError *)error;
1422
1429- (void)mapView:(QMapView *)mapView didChangeUserTrackingMode:(QUserTrackingMode)mode animated:(BOOL)animated;
1430
1435- (void)locationManagerDidChangeAuthorization:(QMapView *)mapView;
1436
1441- (void)mapViewLogger:(QMapView *)mapView logMessage:(NSString *)text;
1442
1443@end
QMapView(Annotation)::annotations
NSArray * annotations
当前地图View的已经添加的标注数组
定义 QMapView.h:706
QMapView(Annotation)::selectedAnnotations
NSArray< id< QAnnotation > > * selectedAnnotations
当前选中的annotations get: 处于选中的标注数组，其count == 0 或者 1 set: 数组中的第一个annotation会被选中 (index = 0)，其他则忽略....
定义 QMapView.h:713
+[QMapView(Cache) clearMapCache]
void clearMapCache()
清理地图缓存数据。注: 此接口必须在地图初始化前调用
-[QMapView(Debug) getDebugError]
NSString * getDebugError()
地图view的错误信息, 用于定位问题
QMapView(Overlay)::overlays
NSArray * overlays
当前mapView中已经添加的Overlay数组
定义 QMapView.h:804
QMapView(QMaskingLayer)::maskingLayers
NSArray< QMaskingLayer * > * maskingLayers
已添加的蒙层
定义 QMapView.h:918
QMapView(Snapshot)::__attribute__
(deprecated("use - (void)takeSnapshotInRect:(CGRect)rect completion:(void (^)(UIImage *resultImage))completion instead")) __attribute__()
截图
定义 QMapView.h:934
-[QMapView(UserLocation) API_AVAILABLE]
CLAuthorizationStatus authorizationStatus API_AVAILABLE(ios(14))
定位权限状态
QMapView(UserLocation)::desiredAccuracy
CLLocationAccuracy desiredAccuracy
设定定位精度。默认为kCLLocationAccuracyBest
定义 QMapView.h:624
QMapView(UserLocation)::userLocationVisible
BOOL userLocationVisible
当前位置在地图中是否可见
定义 QMapView.h:673
QMapView(UserLocation)::userLocatorPresentation
QUserLocationPresentation * userLocatorPresentation
地图view的定位标对象
定义 QMapView.h:590
QMapView(UserLocation)::distanceFilter
CLLocationDistance distanceFilter
设定定位的最小更新距离。默认为kCLDistanceFilterNone，会提示任何移动
定义 QMapView.h:629
QMapView(UserLocation)::headingFilter
CLLocationDegrees headingFilter
设定最小更新角度。默认为2度，设定为kCLHeadingFilterNone会提示任何角度改变
定义 QMapView.h:635
QMapView(UserLocation)::pausesLocationUpdatesAutomatically
BOOL pausesLocationUpdatesAutomatically
定义 QMapView.h:645
QMapView(UserLocation)::userTrackingMode
QUserTrackingMode userTrackingMode
定位用户位置的模式
定义 QMapView.h:660
QMapView(UserLocation)::userLocation
QUserLocation * userLocation
当前位置信息
定义 QMapView.h:619
QMapView(UserLocation)::showsUserLocation
BOOL showsUserLocation
开启定位并展示位置图标.
定义 QMapView.h:602
QMapView(UserLocation)::locatorDisplayLevel
QOverlayLevel locatorDisplayLevel
位置图标的展示层级. 默认 QOverlayLevelAboveLabels
定义 QMapView.h:607
QMapView(UserLocation)::allowsBackgroundLocationUpdates
BOOL allowsBackgroundLocationUpdates
以上是否允许后台定位。ios9以上可用. 请参考CLLocationManager.allowsBackgroundLocationUpdates
定义 QMapView.h:640
QMapView(UserLocation)::locatorZIndex
int locatorZIndex
位置图标的显示顺序，决定了它与其它QOverlayView的压盖关系. 默认为10000000.
定义 QMapView.h:614
-[QMapView(UserLocation) API_AVAILABLE]
CLAccuracyAuthorization accuracyAuthorization API_AVAILABLE(ios(14))
定位精度权限状态
QAOILayer
AOILayer 类
定义 QAOILayer.h:19
QAnnotationView
annotation数据的内容展示View
定义 QAnnotationView.h:20
QBasicMapViewLayer
执行地图动画对应的layer.
定义 QBasicMapViewLayer.h:37
QCustomLayer
用于自定义图层的类
定义 QCustomLayer.h:17
QIndoorPoiInfo
点击室内图上文字图标的数据信息
定义 QMapView.h:993
QIndoorPoiInfo::buildingGUID
NSString * buildingGUID
所在室内图唯一标识
定义 QMapView.h:1002
QIndoorPoiInfo::buildingName
NSString * buildingName
所在室内图楼的名称
定义 QMapView.h:1007
QIndoorPoiInfo::levelName
NSString * levelName
所在室内图楼层
定义 QMapView.h:997
QMapView
地图view的核心类
定义 QMapView.h:52
QMapView::scaleOrigin
CGPoint scaleOrigin
比例尺原点位置
定义 QMapView.h:255
-[QMapView glProjectionMatrix]
float * glProjectionMatrix()
获取当前地图projection矩阵
-[QMapView glPointRatio]
CGFloat glPointRatio()
返回每屏幕Point单位对应的OpenGL坐标系下的长度
QMapView::overlookingEnabled
BOOL overlookingEnabled
是否支持俯视. 默认为YES.
定义 QMapView.h:525
QMapView::zoomEnabled
BOOL zoomEnabled
定义 QMapView.h:510
QMapView::visibleMapRect
QMapRect visibleMapRect
当前地图可见范围的mapRect
定义 QMapView.h:383
QMapView::scrollEnabled
BOOL scrollEnabled
定义 QMapView.h:520
QMapView::showsBaseMap
BOOL showsBaseMap
是否显示底图，默认为YES
定义 QMapView.h:139
QMapView::animationLayer
QBasicMapViewLayer * animationLayer
地图动画Layer. 使用该layer 可以更灵活的组合 {centerCoordinate, zoomLevel, rotation, overlooking} 动画， 并且可以自定义其duratio...
定义 QMapView.h:287
QMapView::logoCenter
CGPoint logoCenter
logo位置，需设置在地图的bounds里
定义 QMapView.h:238
QMapView::showsCompass
BOOL showsCompass
是否显示指南针，默认为NO
定义 QMapView.h:144
QMapView::showsPoi
BOOL showsPoi
是否显示底图上的标注及名称，默认为YES
定义 QMapView.h:127
QMapView::logoSize
CGSize logoSize
logo的宽高
定义 QMapView.h:243
QMapView::metersPerPointAtCurrentZoomLevel
double metersPerPointAtCurrentZoomLevel
在当前缩放级别下, 基于地图中心点, 1 screen point 对应的距离(单位是米)
定义 QMapView.h:495
QMapView::region
QCoordinateRegion region
当前地图的经纬度范围，设定的该范围可能会被调整为适合地图窗口显示的范围
定义 QMapView.h:407
QMapView::maxZoomLevel
CGFloat maxZoomLevel
最大缩放级别, 默认 maxZoomLevel = 20
定义 QMapView.h:323
QMapView::scaleSize
CGSize scaleSize
比例尺的尺寸
定义 QMapView.h:260
QMapView::rotation
CGFloat rotation
旋转角度, 正角度向右转, 单位(角度)
定义 QMapView.h:351
QMapView::shows3DBuildings
BOOL shows3DBuildings
是否显示建筑物样式为3D效果，默认为YES
定义 QMapView.h:122
QMapView::overlooking
CGFloat overlooking
Overlooking, 范围 [0, 45], 单位(角度)
定义 QMapView.h:364
QMapView::minZoomLevel
CGFloat minZoomLevel
最小缩放级别, 默认 minZoomLevel = 3
定义 QMapView.h:318
QMapView::zoomLevel
CGFloat zoomLevel
缩放级别, 范围 [minZoomLevel, maxZoomLevel]
定义 QMapView.h:313
QMapView::labelSize
QMapLabelSize labelSize
设置底图上的标注的字体大小
定义 QMapView.h:134
QMapView::centerCoordinate
CLLocationCoordinate2D centerCoordinate
中心点经纬度
定义 QMapView.h:300
QMapView::showsTraffic
BOOL showsTraffic
是否开启路况图，默认为 NO
定义 QMapView.h:63
QMapView::centerOffsetV2
CGPoint centerOffsetV2
设置中心点偏移，向右向下为正，默认为(0.5, 0.5)，范围是 [0.05, 0.95]。若超出范围，则被裁减到 [0.05, 0.95]。
定义 QMapView.h:202
QMapView::showsBuildings
BOOL showsBuildings
是否显示建筑物，默认为YES
定义 QMapView.h:117
QMapView::preferredFramesPerSecond
NSInteger preferredFramesPerSecond
当前地图最大渲染帧数，默认为60
定义 QMapView.h:149
QMapView::showsScale
BOOL showsScale
是否显示比例尺，默认为YES
定义 QMapView.h:112
QMapView::alwaysTriggerDidTapCoordinateEnabled
BOOL alwaysTriggerDidTapCoordinateEnabled
当地图被单击时，是否总是触发 "地图点击回调"，默认为NO. 地图点击回调:
定义 QMapView.h:540
-[QMapView glViewMatrix]
float * glViewMatrix()
获取当前地图view矩阵
QMapView::rotateEnabled
BOOL rotateEnabled
是否支持旋转. 默认为YES.
定义 QMapView.h:530
QMapView::delegate
id< QMapViewDelegate > delegate
地图回调
定义 QMapView.h:85
QMapView::handDrawMapEnabled
BOOL handDrawMapEnabled
是否开启手绘图，默认为 NO
定义 QMapView.h:58
QMarker
标记覆盖物.
定义 QMarker.h:23
QMaskingLayer
地图蒙层覆盖物
定义 QMaskingLayer.h:16
QOverlayView
该类是地图覆盖物View的基类, 提供了绘制overlay的接口, 但是没有实际实现。希望不要直接实例化
定义 QOverlayView.h:17
QPoiInfo
点击底图上文字图标的数据信息
定义 QMapView.h:971
QPoiInfo::coordinate
CLLocationCoordinate2D coordinate
经纬坐标
定义 QMapView.h:985
QPoiInfo::uid
NSString * uid
唯一标识(可能为空).
定义 QMapView.h:975
QPoiInfo::name
NSString * name
名字信息
定义 QMapView.h:980
QPointEventInfo
点击点事件图标的数据信息 可通过 discription 获取快捷点事件简介
定义 QMapView.h:1016
QPointEventInfo::source
NSString * source
事件来源
定义 QMapView.h:1020
QPointEventInfo::detail
NSString * detail
事件详情信息
定义 QMapView.h:1035
QPointEventInfo::updateTime
NSTimeInterval updateTime
事件更新时间
定义 QMapView.h:1050
QPointEventInfo::startTime
NSTimeInterval startTime
事件开始时间
定义 QMapView.h:1040
QPointEventInfo::eventName
NSString * eventName
事件类型
定义 QMapView.h:1025
QPointEventInfo::endTime
NSTimeInterval endTime
事件结束时间
定义 QMapView.h:1045
QPointEventInfo::road
NSString * road
事件发生道路
定义 QMapView.h:1030
QPolygon
面覆盖物
定义 QPolygon.h:15
QSubPoiInfo
点击AOI面子点图标的数据信息 uid 为子点的唯一标识
定义 QMapView.h:1060
QSubPoiInfo::parentID
NSString * parentID
子点的主点唯一标识
定义 QMapView.h:1064
QTrafficStyle
自定义路况样式
定义 QMapView+Config.h:99
QUserLocation
定位信息类
定义 QUserLocation.h:16
QUserLocationPresentation
用户定位图标自定义样式类
定义 QUserLocationPresentation.h:74
QCoordinateRegion
定义了地图的某一部份的数据结构
定义 QGeometry.h:31
QMapRect
平面投影矩形结构定义
定义 QGeometry.h:92