BaiduMap_IOSSDK_v6.6.7_Docs 6.6.7

BMKMapView.h
浏览该文件的文档.
1 /*
2 * BMKMapView.h
3 * BMapKit
4 *
5 * Copyright 2011 Baidu Inc. All rights reserved.
6 *
7 */
8
9 #import "BMKAnnotation.h"
10 #import "BMKAnnotationView.h"
11 #import "BMKOverlayView.h"
12 #import "BMKMapStatus.h"
13 #import "BMKLocationViewDisplayParam.h"
14 #import "BMKHeatMap.h"
15 #import "BMKHexagonHeatMap.h"
16 #import "BMKBaseIndoorMapInfo.h"
17 #import "BMKCustomMapStyleOption.h"
18 #import "BMKMapGestureDelegate.h"
19 #import "BMKParticleEffectOption.h"
20 #import "BMKMapTouch.h"
21
22 NS_ASSUME_NONNULL_BEGIN
23 @class BMMapControl;
24 @class CompassOverlay;
25 @class BMKUserLocation;
26 @protocol BMKMapViewDelegate;
27
28 typedef enum {
29 BMKTrafficUGCTypeNoUGC = 0,
30 BMKTrafficUGCTypeConstruction,
31 BMKTrafficUGCTypeJam,
32 BMKTrafficUGCTypeBlocking,
33 BMKTrafficUGCTypeEmergency
34 } BMKTrafficUGCType;
36 @interface BMKMapPoi : NSObject
37
39 @property (nonatomic, copy, nullable) NSString *text;
40
42 @property (nonatomic, assign) CLLocationCoordinate2D pt;
43
45 @property (nonatomic, copy, nullable) NSString *uid;
46
48 @property (nonatomic, assign) BMKTrafficUGCType trafficUGCType;
49 @end
50
51 typedef enum {
52 BMKUserTrackingModeNone = 0,
53 BMKUserTrackingModeHeading,
54 BMKUserTrackingModeFollow,
55 BMKUserTrackingModeFollowWithHeading,
56 } BMKUserTrackingMode;
57
59 typedef enum {
60 BMKLogoPositionLeftBottom = 0,
61 BMKLogoPositionLeftTop,
62 BMKLogoPositionCenterBottom,
63 BMKLogoPositionCenterTop,
64 BMKLogoPositionRightBottom,
65 BMKLogoPositionRightTop,
66 } BMKLogoPosition;
67
69 typedef enum {
70 BMKSwitchIndoorFloorSuccess = 0,
71 BMKSwitchIndoorFloorFailed,
72 BMKSwitchIndoorFloorNotFocused,
73 BMKSwitchIndoorFloorNotExist,
74 } BMKSwitchIndoorFloorError;
75
77 typedef enum {
78 BMKRegionChangeReasonGesture = 0,
79 BMKRegionChangeReasonEvent,
80 BMKRegionChangeReasonAPIs,
81 } BMKRegionChangeReason;
82
83 typedef enum {
84 kBMKMapLanguageTypeChinese = 0,
85 kBMKMapLanguageTypeEnglish
86 } BMKMapLanguageType;
87
89 typedef enum : NSInteger {
90 BMKMapParticleEffectUnknow = -1, // 未知，关闭粒子效果时传入该值将关闭所有粒子效果
91 BMKMapParticleEffectSnow = 0, // 雪
92 BMKMapParticleEffectRainStorm = 4, // 雨
93 BMKMapParticleEffectSmog = 5, // 雾霾
94 BMKMapParticleEffectSandStorm = 7, // 沙尘暴
95 BMKMapParticleEffectFireworks = 8, // 烟花
96 BMKMapParticleEffectFlower = 9 // 花瓣
97 } BMKMapParticleEffect;
98
99
101 typedef enum {
102 kBMKPoiTagTypeAll,
103 kBMKPoiTagTypeEpidemic,
104 kBMKPoiTagTypeTravel,
105 kBMKPoiTagTypeShop
106 }BMKPoiTagType;
107
108 typedef enum {
109 kBMKLayerSDKOverlay,
110 kBMKLayerSDKHeatMap,
111 kBMKLayerSDKHexagonHeatMap,
112 kBMKLayerNewSDKDefaultOverlay
113 } BMKLayerType;
114
115
117 @interface BMKMapView : UIView
118
120 @property (nonatomic, weak, nullable) id<BMKMapViewDelegate> delegate;
121
123 @property (nonatomic, weak, nullable) id<BMKMapGestureDelegate> gestureDelegate;
124
126 @property (nonatomic, assign) BMKMapType mapType;
127
134 @property (nonatomic, assign) BMKMapLanguageType languageType;
135
138 @property (nonatomic, strong) UIColor *backgroundColor;
139
143 @property (nonatomic, strong) UIImage *backgroundImage;
144
146 @property (nonatomic, assign) BMKCoordinateRegion region;
147
149 @property (nonatomic, assign) BMKCoordinateRegion limitMapRegion;
150
152 @property (nonatomic, assign) CGPoint compassPosition;
153
155 @property (nonatomic, readonly) CGSize compassSize;
156
158 @property (nonatomic, assign) CLLocationCoordinate2D centerCoordinate;
159
163 @property (nonatomic, assign) NSInteger fontSizeLevel;
164
166 @property (nonatomic, assign) float zoomLevel;
167
169 @property (nonatomic, assign) float minZoomLevel;
170
172 @property (nonatomic, assign) float maxZoomLevel;
173
175 @property (nonatomic, assign) int rotation;
176
178 @property (nonatomic, assign) int overlooking;
179
181 @property (nonatomic, assign) int minOverlooking;
182
184 @property(nonatomic, getter = isBuildingsEnabled) BOOL buildingsEnabled;
185
187 @property(nonatomic, assign) BOOL showMapPoi;
188
190 @property(nonatomic, getter = isTrafficEnabled) BOOL trafficEnabled;
192 @property(nonatomic, getter = isCustomTrafficColorEnabled) BOOL customTrafficColorEnabled;
193
195 @property(nonatomic, getter = isBaiduHeatMapEnabled) BOOL baiduHeatMapEnabled;
196
198 @property(nonatomic) BOOL gesturesEnabled;
199
201 @property(nonatomic) BOOL doubleTapHoldPanEnabled;
202
204 @property(nonatomic, getter = isZoomEnabled) BOOL zoomEnabled;
205
207 @property(nonatomic, getter = isZoomEnabledWithTap) BOOL zoomEnabledWithTap;
208
210 @property(nonatomic, getter = isScrollEnabled) BOOL scrollEnabled;
211
213 @property(nonatomic, getter = isOverlookEnabled) BOOL overlookEnabled;
214
216 @property(nonatomic, getter = isRotateEnabled) BOOL rotateEnabled;
217
219 @property(nonatomic, assign) BOOL forceTouchEnabled;
220
222 @property(nonatomic, assign) BOOL gestureZoomAnimationEnabled;
223
225 @property (nonatomic, assign) BOOL showMapScaleBar;
226
228 @property (nonatomic, assign) CGPoint mapScaleBarPosition;
229
231 @property (nonatomic, readonly) CGSize mapScaleBarSize;
232
234 @property (nonatomic, assign) BMKLogoPosition logoPosition;
235
237 @property (nonatomic, assign) BMKMapRect visibleMapRect;
238
242 @property (nonatomic, assign) UIEdgeInsets mapPadding;
243
245 @property (nonatomic, assign) BOOL updateTargetScreenPtWhenMapPaddingChanged;
246
251 @property(nonatomic, getter = isChangeWithTouchPointCenterEnabled) BOOL ChangeWithTouchPointCenterEnabled;
252
257 @property(nonatomic, getter = isChangeCenterWithDoubleTouchPointEnabled) BOOL ChangeCenterWithDoubleTouchPointEnabled;
258
260 @property(nonatomic, assign) BOOL supportBackgroundDraw;
261
265 + (void)customMapStyle:(NSString *)customMapStyleJsonFilePath __deprecated_msg("Please use - (void)setCustomMapStyleEnable:(BOOL)enable");
266
269 + (void)enableCustomMapStyle:(BOOL)enable __deprecated_msg("Please use - (void)setCustomMapStylePath:(NSString *)customMapStyleFilePath");
270
273 + (void)willBackGround __deprecated_msg("废弃方法（空实现）,逻辑由地图SDK控制");
274
277 + (void)didForeGround __deprecated_msg("废弃方法（空实现）,逻辑由地图SDK控制");
278
281 + (BOOL)setBaiduMapSDKMetalEnable:(BOOL)metalEnable;
282
285 + (BOOL)getBaiduMapSDKMetalEnable;
286
289 + (BOOL)setBaiduMapSDKOverlayNewVersionEnable:(BOOL)newVersionEnable;
290
293 + (BOOL)getBaiduMapSDKOverlayNewVersionEnable;
294
301 - (BOOL)setCustomTrafficColorForSmooth:(UIColor *)smooth
302 slow:(UIColor *)slow
303 congestion:(UIColor *)congestion
304 severeCongestion:(UIColor *)severeCongestion;
305
307 - (void)viewWillAppear;
308
310 - (void)viewWillDisappear;
311
313 - (void)cleanCacheWithMapType:(BMKMapType)type;
314
316 - (void)mapForceRefresh;
317
320 - (BOOL)zoomIn;
321
324 - (BOOL)zoomOut;
325
327 - (BMKCoordinateRegion)regionThatFits:(BMKCoordinateRegion)region __deprecated_msg("此方法已废弃");
328
332 - (void)setRegion:(BMKCoordinateRegion)region animated:(BOOL)animated;
333
337 - (void)setCenterCoordinate:(CLLocationCoordinate2D)coordinate animated:(BOOL)animated;
338
343 - (nullable UIImage *)takeSnapshot;
344
349 - (nullable UIImage *)takeSnapshot:(CGRect)rect;
350
353 - (void)setCompassImage:(UIImage *)image;
354
358 - (void)setVisibleMapRect:(BMKMapRect)mapRect animated:(BOOL)animate;
359
361 - (BMKMapRect)mapRectThatFits:(BMKMapRect)mapRect __deprecated_msg("此方法已废弃");
362
367 - (void)setVisibleMapRect:(BMKMapRect)mapRect edgePadding:(UIEdgeInsets)insets animated:(BOOL)animate;
368
373 - (void)fitVisibleMapRect:(BMKMapRect)mapRect edgePadding:(UIEdgeInsets)insets withAnimated:(BOOL)animate;
374
379 - (BMKMapRect)mapRectThatFits:(BMKMapRect)mapRect edgePadding:(UIEdgeInsets)insets;
380
385 - (CGPoint)convertCoordinate:(CLLocationCoordinate2D)coordinate toPointToView:(UIView *)view;
386
391 - (CLLocationCoordinate2D)convertPoint:(CGPoint)point toCoordinateFromView:(UIView *)view;
392
397 - (CGRect)convertRegion:(BMKCoordinateRegion)region toRectToView:(UIView *)view;
398
403 - (BMKCoordinateRegion)convertRect:(CGRect)rect toRegionFromView:(UIView *)view;
404
409 - (CGRect)convertMapRect:(BMKMapRect)mapRect toRectToView:(UIView *)view;
410
415 - (BMKMapRect)convertRect:(CGRect)rect toMapRectFromView:(UIView *)view;
416
420 - (CGPoint)screenPointFromMapPoint3:(BMKMapPoint3)mapPoint3;
421
425 - (CGPoint)glPointForMapPoint:(BMKMapPoint)mapPoint;
426
431 - (CGPoint *)glPointsForMapPoints:(BMKMapPoint *)mapPoints count:(NSUInteger)count;
432
433
436 - (void)setMapCenterToScreenPt:(CGPoint)ptInScreen;
437
442 - (BMKMapStatus *)getMapStatusFromCoordinateRegion:(BMKCoordinateRegion)region edgePadding:(UIEdgeInsets)insets;
443
446 - (BMKMapStatus *)getMapStatus;
447
450 - (void)setMapStatus:(BMKMapStatus *)mapStatus;
451
455 - (void)setMapStatus:(BMKMapStatus *)mapStatus withAnimation:(BOOL)bAnimation;
456
461 - (void)setMapStatus:(BMKMapStatus *)mapStatus withAnimation:(BOOL)bAnimation withAnimationTime:(int)ulDuration;
462
465 - (BOOL)isSurpportBaiduHeatMap;
466
470 - (float *)getProjectionMatrix;
471
475 - (float *)getViewMatrix;
476
478 - (void)touchesBegan:(NSSet<BMKMapTouch *> *)touches;
479 - (void)touchesMoved:(NSSet<BMKMapTouch *> *)touches;
480 - (void)touchesEnded:(NSSet<BMKMapTouch *> *)touches;
481 - (void)touchesCancelled:(NSSet<BMKMapTouch *> *)touches;
482 @end
483
484 @interface BMKMapView (CustomMapAPI)
485
489 - (BOOL)setCustomMapStylePath:(NSString *)customMapStyleFilePath;
490
495 - (BOOL)setCustomMapStylePath:(NSString *)customMapStyleFilePath mode:(int)mode;
496
500 - (BOOL)setCustomMapStyleEnable:(BOOL)enable;
501
514 - (BOOL)setCustomMapStyleWithOption:(BMKCustomMapStyleOption *)option
515 preLoad:(void (^ _Nullable)(NSString * _Nullable path))preLoad
516 success:(void (^ _Nullable)(NSString * path))success
517 failure:(void (^ _Nullable)(NSError * error, NSString * _Nullable path))failure;
518
519
520 @end
521
522 @interface BMKMapView (IndoorMapAPI)
523
525 @property (nonatomic, assign) BOOL baseIndoorMapEnabled;
526
528 @property (nonatomic, assign) BOOL showIndoorMapPoi;
529
531 @property (nonatomic, assign) BOOL showDotPoi;
532
537 - (BMKSwitchIndoorFloorError)switchBaseIndoorMapFloor:(NSString *)strFloor withID:(NSString *)strID;
538
541 - (nullable BMKBaseIndoorMapInfo *)getFocusedBaseIndoorMapInfo;
542
543 @end
544
545 @interface BMKMapView (LocationViewAPI)
546
548 @property (nonatomic, assign) BOOL showsUserLocation;
549
551 @property (nonatomic, assign) BMKUserTrackingMode userTrackingMode;
552
554 @property (nonatomic, readonly, getter = isUserLocationVisible) BOOL userLocationVisible;
555
558 - (void)updateLocationViewWithParam:(BMKLocationViewDisplayParam *)locationViewDisplayParam;
559
562 - (void)updateLocationData:(BMKUserLocation *)userLocation;
563 @end
564
565 @interface BMKMapView (AnnotationAPI)
566
568 @property (nonatomic, copy, readonly, nullable) NSArray<id <BMKAnnotation>> *annotations;
569
571 @property (nonatomic, assign) BOOL isSelectedAnnotationViewFront;
572
575 - (void)addAnnotation:(id <BMKAnnotation>)annotation;
576
579 - (void)addAnnotations:(NSArray<id <BMKAnnotation>> *)annotations;
580
583 - (void)removeAnnotation:(id <BMKAnnotation>)annotation;
584
587 - (void)removeAnnotations:(NSArray<id <BMKAnnotation> > *)annotations;
588
592 - (nullable BMKAnnotationView *)viewForAnnotation:(id <BMKAnnotation>)annotation;
593
597 - (nullable BMKAnnotationView *)dequeueReusableAnnotationViewWithIdentifier:(NSString *)identifier;
598
602 - (void)selectAnnotation:(id <BMKAnnotation>)annotation animated:(BOOL)animated;
603
607 - (void)deselectAnnotation:(id <BMKAnnotation>)annotation animated:(BOOL)animated;
608
613 - (void)showAnnotations:(NSArray<id <BMKAnnotation>> *)annotations animated:(BOOL)animated;
614
622 - (void)showAnnotations:(NSArray<id <BMKAnnotation>> *)annotations padding:(UIEdgeInsets)padding animated:(BOOL)animated;
623
626 - (nullable NSArray<id <BMKAnnotation>> *)annotationsInCoordinateBounds:(BMKCoordinateBounds)bounds;
627
628 @end
629
631 @interface BMKMapView (OverlaysAPI)
632
635 - (void)addOverlay:(id <BMKOverlay>)overlay;
636
639 - (void)addOverlays:(NSArray<id <BMKOverlay>> *)overlays;
640
643 - (void)removeOverlay:(id <BMKOverlay>)overlay;
644
647 - (void)removeOverlays:(NSArray<id <BMKOverlay>> *)overlays;
648
652 - (void)insertOverlay:(id <BMKOverlay>)overlay atIndex:(NSUInteger)index;
653
657 - (void)exchangeOverlayAtIndex:(NSUInteger)index1 withOverlayAtIndex:(NSUInteger)index2;
658
662 - (void)insertOverlay:(id <BMKOverlay>)overlay aboveOverlay:(id <BMKOverlay>)sibling;
663
667 - (void)insertOverlay:(id <BMKOverlay>)overlay belowOverlay:(id <BMKOverlay>)sibling;
668
670 @property (nonatomic, copy, readonly, nullable) NSArray<id <BMKOverlay>> *overlays;
671
675 - (nullable BMKOverlayView *)viewForOverlay:(id <BMKOverlay>)overlay;
676
677 @end
678
679 @interface BMKMapView (HeatMapAPI)
680
683 - (void)addHeatMap:(BMKHeatMap *)heatMap;
684
688 - (void)updateHeatMap:(BMKHeatMap *)heatMap;
689
691 - (void)removeHeatMap;
692
694 - (void)startHeatMapFrameAnimation;
695
697 - (void)stopHeatMapFrameAnimation;
698
700 - (void)setHeatMapFrameAnimationIndex:(NSInteger)index;
701
702 @end
703
704 @interface BMKMapView (HexagonHeatMapAPI)
706 @property (nonatomic, assign) BOOL showHexagonHeatMap;
708 - (void)addHexagonHeatMap:(BMKHexagonHeatMap *)hexagonHeatMap;
710 - (void)removeHexagonHeatMap;
711 @end
712
713 @interface BMKMapView (MapLayerAPI)
714
716 @property (nonatomic, assign) BOOL showOperateLayer;
718 @property (nonatomic, assign) BOOL showOperatePOILayer;
720 @property (nonatomic, assign) BOOL showTrafficUGCLayer;
725 - (BOOL)switchLayerOrder:(BMKLayerType)layer otherLayer:(BMKLayerType)otherLayer;
726
728 @property (nonatomic, assign) BOOL showDEMLayer;
729
733 - (BOOL)switchOverlayLayerAndNavigationLayer:(BOOL)isSwitch;
734
740 - (BOOL)switchOverlayLayerAndPOILayer:(BOOL)isSwitch;
741
744 - (BOOL)getPoiTagEnable:(BMKPoiTagType)poiTagType;
745
749 - (void)setPoiTagEnable:(BOOL)enable poiTagType:(BMKPoiTagType)poiTagType;
750 @end
751
752 @interface BMKMapView (ParticleEffect)
759 - (BOOL)showParticleEffect:(BMKMapParticleEffect)effect;
760
766 - (void)closeParticleEffect:(BMKMapParticleEffect)effect;
767
774 - (BOOL)customParticleEffect:(BMKMapParticleEffect)effect option:(BMKParticleEffectOption *)option;
775 @end
776
777 @interface BMKMapView (MapStyleAPI)
778
781 - (BOOL)downloadMapStyle:(NSString *)urlString;
782
783 @end
784
786 @protocol BMKMapViewDelegate <NSObject>
787 @optional
788
792 - (void)mapViewWillBackground:(BMKMapView *)mapView;
793
797 - (void)mapViewDidForeground:(BMKMapView *)mapView;
798
801 - (void)mapViewDidFinishLoading:(BMKMapView *)mapView;
802
806 - (void)mapViewDidRenderValidData:(BMKMapView *)mapView withError:(NSError *)error;
807
810 - (void)mapViewDidFinishRendering:(BMKMapView *)mapView;
811
815 - (void)mapView:(BMKMapView *)mapView onDrawMapFrame:(BMKMapStatus *)status;
816
820 - (void)mapView:(BMKMapView *)mapView regionWillChangeAnimated:(BOOL)animated;
821
826 - (void)mapView:(BMKMapView *)mapView regionWillChangeAnimated:(BOOL)animated reason:(BMKRegionChangeReason)reason;
827
831 - (void)mapView:(BMKMapView *)mapView regionDidChangeAnimated:(BOOL)animated;
832
837 - (void)mapView:(BMKMapView *)mapView regionDidChangeAnimated:(BOOL)animated reason:(BMKRegionChangeReason)reason;
838
843 - (nullable __kindof BMKAnnotationView *)mapView:(BMKMapView *)mapView viewForAnnotation:(id <BMKAnnotation>)annotation;
844
848 - (void)mapView:(BMKMapView *)mapView didAddAnnotationViews:(NSArray *)views;
849
854 - (void)mapView:(BMKMapView *)mapView clickAnnotationView:(BMKAnnotationView *)view;
855
861 - (void)mapView:(BMKMapView *)mapView didSelectAnnotationView:(BMKAnnotationView *)view;
862
866 - (void)mapView:(BMKMapView *)mapView didDeselectAnnotationView:(BMKAnnotationView *)view;
867
873 - (void)mapView:(BMKMapView *)mapView annotationView:(BMKAnnotationView *)view didChangeDragState:(BMKAnnotationViewDragState)newState
874 fromOldState:(BMKAnnotationViewDragState)oldState;
875
879 - (void)mapView:(BMKMapView *)mapView annotationViewForBubble:(BMKAnnotationView *)view;
880
885 - (nullable __kindof BMKOverlayView *)mapView:(BMKMapView *)mapView viewForOverlay:(id <BMKOverlay>)overlay;
886
890 - (void)mapView:(BMKMapView *)mapView didAddOverlayViews:(NSArray *)overlayViews;
891
895 - (void)mapView:(BMKMapView *)mapView onClickedBMKOverlayView:(BMKOverlayView *)overlayView;
896
900 - (void)mapView:(BMKMapView *)mapView onClickedMapPoi:(BMKMapPoi *)mapPoi;
901
905 - (void)mapView:(BMKMapView *)mapView onClickedMapBlank:(CLLocationCoordinate2D)coordinate;
906
910 - (void)mapview:(BMKMapView *)mapView onDoubleClick:(CLLocationCoordinate2D)coordinate;
911
915 - (void)mapview:(BMKMapView *)mapView onLongClick:(CLLocationCoordinate2D)coordinate;
916
922 - (void)mapview:(BMKMapView *)mapView onForceTouch:(CLLocationCoordinate2D)coordinate force:(CGFloat)force maximumPossibleForce:(CGFloat)maximumPossibleForce;
923
926 - (void)mapStatusDidChanged:(BMKMapView *)mapView;
927
932 - (void)mapview:(BMKMapView *)mapView baseIndoorMapWithIn:(BOOL)flag baseIndoorMapInfo:(nullable BMKBaseIndoorMapInfo *)info;
933
937 - (void)mapView:(BMKMapView *)mapView didChangeUserTrackingMode:(BMKUserTrackingMode)mode;
938
939 @end
940 NS_ASSUME_NONNULL_END
BMKTrafficUGCTypeNoUGC
@ BMKTrafficUGCTypeNoUGC
Definition: BMKMapView.h:29
kBMKPoiTagTypeTravel
@ kBMKPoiTagTypeTravel
旅游出行标签
Definition: BMKMapView.h:104
BMKMapStatus
此类表示地图状态信息
Definition: BMKMapStatus.h:16
BMKMapParticleEffect
BMKMapParticleEffect
枚举：粒子效果
Definition: BMKMapView.h:89
BMKAnnotationViewDragState
NSUInteger BMKAnnotationViewDragState
Definition: BMKAnnotationView.h:22
BMKMapPoint3
三维地理坐标点，用空间坐标表示
Definition: BMKTypes.h:254
kBMKPoiTagTypeEpidemic
@ kBMKPoiTagTypeEpidemic
疫情标签
Definition: BMKMapView.h:103
BMKSwitchIndoorFloorNotExist
@ BMKSwitchIndoorFloorNotExist
地图还未聚焦到传入的室内图
Definition: BMKMapView.h:73
BMKMapView(LocationViewAPI)
Definition: BMKMapView.h:545
BMKTrafficUGCTypeEmergency
@ BMKTrafficUGCTypeEmergency
道路封闭
Definition: BMKMapView.h:33
BMKMapView
地图View类，使用此View可以显示地图窗口，并且对地图进行相关的操作
Definition: BMKMapView.h:118
BMKMapView(ParticleEffect)
Definition: BMKMapView.h:752
BMKAnnotation.h
kBMKPoiTagTypeShop
@ kBMKPoiTagTypeShop
店铺标签
Definition: BMKMapView.h:105
BMKSwitchIndoorFloorFailed
@ BMKSwitchIndoorFloorFailed
切换楼层成功
Definition: BMKMapView.h:71
BMKRegionChangeReasonAPIs
@ BMKRegionChangeReasonAPIs
地图上控件事件，如点击指南针返回2D地图。
Definition: BMKMapView.h:80
BMKRegionChangeReasonEvent
@ BMKRegionChangeReasonEvent
手势触发导致地图区域变化，如双击、拖拽、滑动地图
Definition: BMKMapView.h:79
BMKMapStatus.h
BMKMapView(CustomMapAPI)
Definition: BMKMapView.h:484
BMKRegionChangeReasonGesture
@ BMKRegionChangeReasonGesture
Definition: BMKMapView.h:78
BMKMapPoint
地理坐标点，用直角地理坐标表示
Definition: BMKTypes.h:228
BMKHexagonHeatMap
蜂窝热力图的绘制数据和显示样式类
Definition: BMKHexagonHeatMap.h:32
BMKHexagonHeatMap.h
BMKUserTrackingModeHeading
@ BMKUserTrackingModeHeading
普通定位模式
Definition: BMKMapView.h:53
BMKMapView(MapLayerAPI)
Definition: BMKMapView.h:713
BMKMapParticleEffectRainStorm
@ BMKMapParticleEffectRainStorm
Definition: BMKMapView.h:92
BMKMapParticleEffectSandStorm
@ BMKMapParticleEffectSandStorm
Definition: BMKMapView.h:94
BMKCustomMapStyleOption
Definition: BMKCustomMapStyleOption.h:13
BMKMapView(AnnotationAPI)
Definition: BMKMapView.h:565
BMKMapView(MapStyleAPI)
Definition: BMKMapView.h:777
BMKUserTrackingModeFollowWithHeading
@ BMKUserTrackingModeFollowWithHeading
定位跟随模式
Definition: BMKMapView.h:55
kBMKLayerSDKOverlay
@ kBMKLayerSDKOverlay
Definition: BMKMapView.h:109
BMKSwitchIndoorFloorError
BMKSwitchIndoorFloorError
枚举：室内图切换楼层结果
Definition: BMKMapView.h:69
kBMKLayerNewSDKDefaultOverlay
@ kBMKLayerNewSDKDefaultOverlay
SDK蜂窝热力图图层
Definition: BMKMapView.h:112
BMKRegionChangeReason
BMKRegionChangeReason
枚举：地图区域改变原因
Definition: BMKMapView.h:77
kBMKLayerSDKHexagonHeatMap
@ kBMKLayerSDKHexagonHeatMap
SDK热力图图层
Definition: BMKMapView.h:111
BMKLogoPositionRightTop
@ BMKLogoPositionRightTop
地图右下方
Definition: BMKMapView.h:65
BMKMapParticleEffectUnknow
@ BMKMapParticleEffectUnknow
Definition: BMKMapView.h:90
BMKMapPoi::pt
CLLocationCoordinate2D pt
点标注的经纬度坐标
Definition: BMKMapView.h:42
BMKOverlay-p
该类是地图覆盖物的基类，所有地图的覆盖物需要继承自此类
Definition: BMKOverlay.h:17
BMKHeatMap
热力图的绘制数据和显示样式类
Definition: BMKHeatMap.h:35
BMKAnnotation-p
该类为标注点的protocol，提供了标注类的基本信息函数
Definition: BMKAnnotation.h:12
BMKLogoPositionCenterTop
@ BMKLogoPositionCenterTop
地图中下方
Definition: BMKMapView.h:63
BMKBaseIndoorMapInfo
此类表示室内图基础信息
Definition: BMKBaseIndoorMapInfo.h:16
BMKMapParticleEffectFireworks
@ BMKMapParticleEffectFireworks
Definition: BMKMapView.h:95
kBMKMapLanguageTypeChinese
@ kBMKMapLanguageTypeChinese
Definition: BMKMapView.h:84
BMKTrafficUGCType
BMKTrafficUGCType
Definition: BMKMapView.h:28
BMKMapPoi::trafficUGCType
BMKTrafficUGCType trafficUGCType
Poi点路况信息
Definition: BMKMapView.h:48
BMKMapParticleEffectFlower
@ BMKMapParticleEffectFlower
Definition: BMKMapView.h:96
BMKAnnotationView.h
BMKLogoPositionLeftBottom
@ BMKLogoPositionLeftBottom
Definition: BMKMapView.h:60
BMKMapView(HexagonHeatMapAPI)
Definition: BMKMapView.h:704
BMKMapParticleEffectSnow
@ BMKMapParticleEffectSnow
Definition: BMKMapView.h:91
BMKMapPoi
点击地图标注返回数据结构
Definition: BMKMapView.h:37
BMKLogoPosition
BMKLogoPosition
枚举：logo位置
Definition: BMKMapView.h:59
BMKCoordinateRegion
表示一个经纬度区域
Definition: BMKTypes.h:205
BMKMapPoi::uid
NSString * uid
点标注的uid，可能为空
Definition: BMKMapView.h:45
BMKMapPoi::text
NSString * text
点标注的名称
Definition: BMKMapView.h:39
BMKTrafficUGCTypeConstruction
@ BMKTrafficUGCTypeConstruction
非路况事件
Definition: BMKMapView.h:30
BMKTrafficUGCTypeJam
@ BMKTrafficUGCTypeJam
道路施工
Definition: BMKMapView.h:31
BMKBaseIndoorMapInfo.h
BMKMapViewDelegate-p
MapView的Delegate，mapView通过此类来通知用户对应的事件
Definition: BMKMapView.h:786
BMKSwitchIndoorFloorSuccess
@ BMKSwitchIndoorFloorSuccess
Definition: BMKMapView.h:70
BMKMapLanguageType
BMKMapLanguageType
Definition: BMKMapView.h:83
BMKMapView(OverlaysAPI)
地图View类(和Overlay操作相关的接口)
Definition: BMKMapView.h:631
BMKCustomMapStyleOption.h
BMKMapView(IndoorMapAPI)
Definition: BMKMapView.h:522
BMKLogoPositionLeftTop
@ BMKLogoPositionLeftTop
地图左下方
Definition: BMKMapView.h:61
BMKMapView(HeatMapAPI)
Definition: BMKMapView.h:679
BMKTrafficUGCTypeBlocking
@ BMKTrafficUGCTypeBlocking
道路拥堵
Definition: BMKMapView.h:32
BMKMapParticleEffectSmog
@ BMKMapParticleEffectSmog
Definition: BMKMapView.h:93
BMKOverlayView.h
BMKLayerType
BMKLayerType
Definition: BMKMapView.h:108
BMKUserTrackingMode
BMKUserTrackingMode
Definition: BMKMapView.h:51
BMKLocationViewDisplayParam.h
BMKMapRect
矩形，用直角地理坐标表示
Definition: BMKTypes.h:284
BMKSwitchIndoorFloorNotFocused
@ BMKSwitchIndoorFloorNotFocused
切换楼层失败
Definition: BMKMapView.h:72
BMKParticleEffectOption
Definition: BMKParticleEffectOption.h:15
kBMKPoiTagTypeAll
@ kBMKPoiTagTypeAll
显示poi标签 / 屏蔽所有poi标签
Definition: BMKMapView.h:102
BMKUserTrackingModeNone
@ BMKUserTrackingModeNone
Definition: BMKMapView.h:52
BMKLogoPositionRightBottom
@ BMKLogoPositionRightBottom
地图中上方
Definition: BMKMapView.h:64
BMKMapGestureDelegate.h
BMKMapTouch.h
BMKCoordinateBounds
表示一个经纬度区域
Definition: BMKTypes.h:198
BMKParticleEffectOption.h
BMKUserTrackingModeFollow
@ BMKUserTrackingModeFollow
定位方向模式
Definition: BMKMapView.h:54
BMKLocationViewDisplayParam
此类表示定位图层自定义样式参数
Definition: BMKLocationViewDisplayParam.h:24
BMKPoiTagType
BMKPoiTagType
用于控制poi标签显示的类别枚举
Definition: BMKMapView.h:101
BMKAnnotationView
Definition: BMKAnnotationView.h:43
BMKLogoPositionCenterBottom
@ BMKLogoPositionCenterBottom
地图左上方
Definition: BMKMapView.h:62
BMKUserLocation
Definition: BMKUserLocation.h:14
BMKOverlayView
该类是地图覆盖物View的基类，提供绘制overlay的接口但本身并无实现，所有地图覆盖物View需要继承自此类
Definition: BMKOverlayView.h:15
BMKMapTouch
Definition: BMKMapTouch.h:14
kBMKMapLanguageTypeEnglish
@ kBMKMapLanguageTypeEnglish
中文地图
Definition: BMKMapView.h:85
BMKHeatMap.h
kBMKLayerSDKHeatMap
@ kBMKLayerSDKHeatMap
SDK覆盖物图层
Definition: BMKMapView.h:110