BaiduMap_IOSSDK_v7.1.0_Docs 7.1.0

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 kBMKMapLanguageTypeTraditionalChinese,
87 kBMKMapLanguageTypeFrench,
88 kBMKMapLanguageTypeGerman,
89 kBMKMapLanguageTypeIndonesian,
90 kBMKMapLanguageTypeItalian,
91 kBMKMapLanguageTypeJapanese,
92 kBMKMapLanguageTypeKorean,
93 kBMKMapLanguageTypeMalayalam,
94 kBMKMapLanguageTypePortuguese,
95 kBMKMapLanguageTypeRussian,
96 kBMKMapLanguageTypeSpanish,
97 kBMKMapLanguageTypeThai,
98 kBMKMapLanguageTypeTurkish,
99 kBMKMapLanguageTypeVietnamese,
100 } BMKMapLanguageType;
101
103 typedef enum : NSInteger {
104 BMKMapParticleEffectUnknow = -1, // 未知，关闭粒子效果时传入该值将关闭所有粒子效果
105 BMKMapParticleEffectSnow = 0, // 雪
106 BMKMapParticleEffectRainStorm = 4, // 雨
107 BMKMapParticleEffectSmog = 5, // 雾霾
108 BMKMapParticleEffectSandStorm = 7, // 沙尘暴
109 BMKMapParticleEffectFireworks = 8, // 烟花
110 BMKMapParticleEffectFlower = 14 // 花瓣
111 } BMKMapParticleEffect;
112
113
115 typedef enum {
116 kBMKPoiTagTypeAll,
117 kBMKPoiTagTypeEpidemic,
118 kBMKPoiTagTypeTravel,
119 kBMKPoiTagTypeShop
120 }BMKPoiTagType;
121
122 typedef enum {
123 kBMKLayerSDKOverlay,
124 kBMKLayerSDKHeatMap,
125 kBMKLayerSDKHexagonHeatMap,
126 kBMKLayerNewSDKDefaultOverlay
127 } BMKLayerType;
128
129
131 @interface BMKMapView : UIView
132
134 @property (nonatomic, weak, nullable) id<BMKMapViewDelegate> delegate;
135
137 @property (nonatomic, weak, nullable) id<BMKMapGestureDelegate> gestureDelegate;
138
140 @property (nonatomic, assign) BMKMapType mapType;
141
148 @property (nonatomic, assign) BMKMapLanguageType languageType;
150 @property (nonatomic, assign) BOOL showSingleLanguage;
151
154 @property (nonatomic, strong) UIColor *backgroundColor;
155
159 @property (nonatomic, strong) UIImage *backgroundImage;
160
162 @property (nonatomic, assign) BMKCoordinateRegion region;
163
165 @property (nonatomic, assign) BMKCoordinateRegion limitMapRegion;
166
168 @property (nonatomic, assign) CGPoint compassPosition;
169
171 @property (nonatomic, readonly) CGSize compassSize;
172
174 @property (nonatomic, assign) CLLocationCoordinate2D centerCoordinate;
175
179 @property (nonatomic, assign) NSInteger fontSizeLevel;
180
182 @property (nonatomic, assign) float zoomLevel;
183
185 @property (nonatomic, assign) float minZoomLevel;
186
188 @property (nonatomic, assign) float maxZoomLevel;
189
191 @property (nonatomic, assign) int rotation;
192
194 @property (nonatomic, assign) int overlooking;
195
197 @property (nonatomic, assign) int minOverlooking;
198
200 @property(nonatomic, getter = isBuildingsEnabled) BOOL buildingsEnabled;
201
203 @property(nonatomic, getter = isModel3DEnabled) BOOL model3DEnabled;
204
206 @property(nonatomic, assign) BOOL showMapPoi;
207
209 @property(nonatomic, getter = isTrafficEnabled) BOOL trafficEnabled;
211 @property(nonatomic, getter = isCustomTrafficColorEnabled) BOOL customTrafficColorEnabled;
212
214 @property(nonatomic, getter = isBaiduHeatMapEnabled) BOOL baiduHeatMapEnabled;
215
217 @property(nonatomic) BOOL gesturesEnabled;
218
220 @property(nonatomic) BOOL doubleTapHoldPanEnabled;
221
223 @property(nonatomic, getter = isZoomEnabled) BOOL zoomEnabled;
224
226 @property(nonatomic, getter = isZoomEnabledWithTap) BOOL zoomEnabledWithTap;
227
229 @property(nonatomic, getter = isScrollEnabled) BOOL scrollEnabled;
230
232 @property(nonatomic, getter = isOverlookEnabled) BOOL overlookEnabled;
233
235 @property(nonatomic, getter = isRotateEnabled) BOOL rotateEnabled;
236
238 @property(nonatomic, assign) BOOL forceTouchEnabled;
239
241 @property(nonatomic, assign) BOOL gestureZoomAnimationEnabled;
242
244 @property (nonatomic, assign) BOOL showMapScaleBar;
245
247 @property (nonatomic, assign) CGPoint mapScaleBarPosition;
248
250 @property (nonatomic, readonly) CGSize mapScaleBarSize;
251
253 @property (nonatomic, strong) UIColor *mapScaleBarColor;
254
256 @property (nonatomic, strong) UIColor *mapScaleBarTextColor;
257
259 @property (nonatomic, assign) BMKLogoPosition logoPosition;
260
262 @property (nonatomic, assign) BMKMapRect visibleMapRect;
263
267 @property (nonatomic, assign) UIEdgeInsets mapPadding;
268
270 @property (nonatomic, assign) BOOL updateTargetScreenPtWhenMapPaddingChanged;
271
276 @property(nonatomic, getter = isChangeWithTouchPointCenterEnabled) BOOL ChangeWithTouchPointCenterEnabled;
277
282 @property(nonatomic, getter = isChangeCenterWithDoubleTouchPointEnabled) BOOL ChangeCenterWithDoubleTouchPointEnabled;
283
286 @property(nonatomic, assign) BOOL supportBackgroundDraw;
287
291 + (void)customMapStyle:(NSString *)customMapStyleJsonFilePath __deprecated_msg("Please use - (void)setCustomMapStyleEnable:(BOOL)enable");
292
295 + (void)enableCustomMapStyle:(BOOL)enable __deprecated_msg("Please use - (void)setCustomMapStylePath:(NSString *)customMapStyleFilePath");
296
299 + (void)willBackGround __deprecated_msg("废弃方法（空实现）,逻辑由地图SDK控制");
300
303 + (void)didForeGround __deprecated_msg("废弃方法（空实现）,逻辑由地图SDK控制");
304
307 + (BOOL)setBaiduMapSDKMetalEnable:(BOOL)metalEnable;
308
311 + (BOOL)getBaiduMapSDKMetalEnable;
312
315 + (BOOL)setBaiduMapSDKOverlayNewVersionEnable:(BOOL)newVersionEnable;
316
319 + (BOOL)getBaiduMapSDKOverlayNewVersionEnable;
320
327 - (BOOL)setCustomTrafficColorForSmooth:(UIColor *)smooth
328 slow:(UIColor *)slow
329 congestion:(UIColor *)congestion
330 severeCongestion:(UIColor *)severeCongestion;
331
333 - (void)viewWillAppear;
334
336 - (void)viewWillDisappear;
337
339 - (void)cleanCacheWithMapType:(BMKMapType)type;
340
342 - (void)mapForceRefresh;
343
346 - (BOOL)zoomIn;
347
350 - (BOOL)zoomOut;
351
353 - (BMKCoordinateRegion)regionThatFits:(BMKCoordinateRegion)region __deprecated_msg("此方法已废弃");
354
358 - (void)setRegion:(BMKCoordinateRegion)region animated:(BOOL)animated;
359
363 - (void)setCenterCoordinate:(CLLocationCoordinate2D)coordinate animated:(BOOL)animated;
364
369 - (nullable UIImage *)takeSnapshot;
370
375 - (nullable UIImage *)takeSnapshot:(CGRect)rect;
376
379 - (void)setCompassImage:(UIImage *)image;
380
384 - (void)setVisibleMapRect:(BMKMapRect)mapRect animated:(BOOL)animate;
385
387 - (BMKMapRect)mapRectThatFits:(BMKMapRect)mapRect __deprecated_msg("此方法已废弃");
388
393 - (void)setVisibleMapRect:(BMKMapRect)mapRect edgePadding:(UIEdgeInsets)insets animated:(BOOL)animate;
394
399 - (void)fitVisibleMapRect:(BMKMapRect)mapRect edgePadding:(UIEdgeInsets)insets withAnimated:(BOOL)animate;
400
405 - (BMKMapRect)mapRectThatFits:(BMKMapRect)mapRect edgePadding:(UIEdgeInsets)insets;
406
411 - (CGPoint)convertCoordinate:(CLLocationCoordinate2D)coordinate toPointToView:(UIView *)view;
412
417 - (CLLocationCoordinate2D)convertPoint:(CGPoint)point toCoordinateFromView:(UIView *)view;
418
423 - (CGRect)convertRegion:(BMKCoordinateRegion)region toRectToView:(UIView *)view;
424
429 - (BMKCoordinateRegion)convertRect:(CGRect)rect toRegionFromView:(UIView *)view;
430
435 - (CGRect)convertMapRect:(BMKMapRect)mapRect toRectToView:(UIView *)view;
436
441 - (BMKMapRect)convertRect:(CGRect)rect toMapRectFromView:(UIView *)view;
442
446 - (CGPoint)screenPointFromMapPoint3:(BMKMapPoint3)mapPoint3;
447
451 - (CGPoint)glPointForMapPoint:(BMKMapPoint)mapPoint;
452
457 - (CGPoint *)glPointsForMapPoints:(BMKMapPoint *)mapPoints count:(NSUInteger)count;
458
459
462 - (void)setMapCenterToScreenPt:(CGPoint)ptInScreen;
463
468 - (BMKMapStatus *)getMapStatusFromCoordinateRegion:(BMKCoordinateRegion)region edgePadding:(UIEdgeInsets)insets;
469
472 - (BMKMapStatus *)getMapStatus;
473
476 - (void)setMapStatus:(BMKMapStatus *)mapStatus;
477
481 - (void)setMapStatus:(BMKMapStatus *)mapStatus withAnimation:(BOOL)bAnimation;
482
487 - (void)setMapStatus:(BMKMapStatus *)mapStatus withAnimation:(BOOL)bAnimation withAnimationTime:(int)ulDuration;
488
491 - (BOOL)isSurpportBaiduHeatMap;
492
496 - (float *)getProjectionMatrix;
497
501 - (float *)getViewMatrix;
502
504 - (void)touchesBegan:(NSSet<BMKMapTouch *> *)touches;
505 - (void)touchesMoved:(NSSet<BMKMapTouch *> *)touches;
506 - (void)touchesEnded:(NSSet<BMKMapTouch *> *)touches;
507 - (void)touchesCancelled:(NSSet<BMKMapTouch *> *)touches;
508 @end
509
510 @interface BMKMapView (CustomMapAPI)
511
515 - (BOOL)setCustomMapStylePath:(NSString *)customMapStyleFilePath;
516
521 - (BOOL)setCustomMapStylePath:(NSString *)customMapStyleFilePath mode:(int)mode;
522
526 - (BOOL)setCustomMapStyleEnable:(BOOL)enable;
527
540 - (BOOL)setCustomMapStyleWithOption:(BMKCustomMapStyleOption *)option
541 preLoad:(void (^ _Nullable)(NSString * _Nullable path))preLoad
542 success:(void (^ _Nullable)(NSString * path))success
543 failure:(void (^ _Nullable)(NSError * error, NSString * _Nullable path))failure;
544
545
546 @end
547
548 @interface BMKMapView (IndoorMapAPI)
549
551 @property (nonatomic, assign) BOOL baseIndoorMapEnabled;
552
554 @property (nonatomic, assign) BOOL showIndoorMapPoi;
555
557 @property (nonatomic, assign) BOOL showDotPoi;
558
563 - (BMKSwitchIndoorFloorError)switchBaseIndoorMapFloor:(NSString *)strFloor withID:(NSString *)strID;
564
567 - (nullable BMKBaseIndoorMapInfo *)getFocusedBaseIndoorMapInfo;
568
569 @end
570
571 @interface BMKMapView (LocationViewAPI)
572
574 @property (nonatomic, assign) BOOL showsUserLocation;
575
577 @property (nonatomic, assign) BMKUserTrackingMode userTrackingMode;
578
580 @property (nonatomic, readonly, getter = isUserLocationVisible) BOOL userLocationVisible;
581
584 - (void)updateLocationViewWithParam:(BMKLocationViewDisplayParam *)locationViewDisplayParam;
585
588 - (void)updateLocationData:(BMKUserLocation *)userLocation;
589 @end
590
591 @interface BMKMapView (AnnotationAPI)
592
594 @property (nonatomic, copy, readonly, nullable) NSArray<id <BMKAnnotation>> *annotations;
595
597 @property (nonatomic, assign) BOOL isSelectedAnnotationViewFront;
598
601 - (void)addAnnotation:(id <BMKAnnotation>)annotation;
602
605 - (void)addAnnotations:(NSArray<id <BMKAnnotation>> *)annotations;
606
609 - (void)removeAnnotation:(id <BMKAnnotation>)annotation;
610
613 - (void)removeAnnotations:(NSArray<id <BMKAnnotation> > *)annotations;
614
618 - (nullable BMKAnnotationView *)viewForAnnotation:(id <BMKAnnotation>)annotation;
619
623 - (nullable BMKAnnotationView *)dequeueReusableAnnotationViewWithIdentifier:(NSString *)identifier;
624
628 - (void)selectAnnotation:(id <BMKAnnotation>)annotation animated:(BOOL)animated;
629
633 - (void)deselectAnnotation:(id <BMKAnnotation>)annotation animated:(BOOL)animated;
634
639 - (void)showAnnotations:(NSArray<id <BMKAnnotation>> *)annotations animated:(BOOL)animated;
640
648 - (void)showAnnotations:(NSArray<id <BMKAnnotation>> *)annotations padding:(UIEdgeInsets)padding animated:(BOOL)animated;
649
652 - (nullable NSArray<id <BMKAnnotation>> *)annotationsInCoordinateBounds:(BMKCoordinateBounds)bounds;
653
654 @end
655
657 @interface BMKMapView (OverlaysAPI)
658
661 - (void)addOverlay:(id <BMKOverlay>)overlay;
662
665 - (void)addOverlays:(NSArray<id <BMKOverlay>> *)overlays;
666
669 - (void)removeOverlay:(id <BMKOverlay>)overlay;
670
673 - (void)removeOverlays:(NSArray<id <BMKOverlay>> *)overlays;
674
678 - (void)insertOverlay:(id <BMKOverlay>)overlay atIndex:(NSUInteger)index;
679
683 - (void)exchangeOverlayAtIndex:(NSUInteger)index1 withOverlayAtIndex:(NSUInteger)index2;
684
688 - (void)insertOverlay:(id <BMKOverlay>)overlay aboveOverlay:(id <BMKOverlay>)sibling;
689
693 - (void)insertOverlay:(id <BMKOverlay>)overlay belowOverlay:(id <BMKOverlay>)sibling;
694
696 @property (nonatomic, copy, readonly, nullable) NSArray<id <BMKOverlay>> *overlays;
697
701 - (nullable BMKOverlayView *)viewForOverlay:(id <BMKOverlay>)overlay;
702
703 @end
704
705 @interface BMKMapView (HeatMapAPI)
706
709 - (void)addHeatMap:(BMKHeatMap *)heatMap;
710
714 - (void)updateHeatMap:(BMKHeatMap *)heatMap;
715
717 - (void)removeHeatMap;
718
720 - (void)startHeatMapFrameAnimation;
721
723 - (void)stopHeatMapFrameAnimation;
724
726 - (void)setHeatMapFrameAnimationIndex:(NSInteger)index;
727
728 @end
729
730 @interface BMKMapView (HexagonHeatMapAPI)
732 @property (nonatomic, assign) BOOL showHexagonHeatMap;
734 - (void)addHexagonHeatMap:(BMKHexagonHeatMap *)hexagonHeatMap;
736 - (void)removeHexagonHeatMap;
737 @end
738
739 @interface BMKMapView (MapLayerAPI)
740
742 @property (nonatomic, assign) BOOL showOperateLayer;
744 @property (nonatomic, assign) BOOL showOperatePOILayer;
746 @property (nonatomic, assign) BOOL showTrafficUGCLayer;
751 - (BOOL)switchLayerOrder:(BMKLayerType)layer otherLayer:(BMKLayerType)otherLayer;
752
754 @property (nonatomic, assign) BOOL showDEMLayer;
755
759 - (BOOL)switchOverlayLayerAndNavigationLayer:(BOOL)isSwitch;
760
766 - (BOOL)switchOverlayLayerAndPOILayer:(BOOL)isSwitch;
767
770 - (BOOL)getPoiTagEnable:(BMKPoiTagType)poiTagType;
771
775 - (void)setPoiTagEnable:(BOOL)enable poiTagType:(BMKPoiTagType)poiTagType;
776 @end
777
778 @interface BMKMapView (ParticleEffect)
785 - (BOOL)showParticleEffect:(BMKMapParticleEffect)effect;
786
792 - (void)closeParticleEffect:(BMKMapParticleEffect)effect;
793
800 - (BOOL)customParticleEffect:(BMKMapParticleEffect)effect option:(BMKParticleEffectOption *)option;
801 @end
802
803 @interface BMKMapView (MapStyleAPI)
804
807 - (BOOL)downloadMapStyle:(NSString *)urlString;
808
809 @end
810
812 @protocol BMKMapViewDelegate <NSObject>
813 @optional
814
818 - (void)mapViewWillBackground:(BMKMapView *)mapView;
819
823 - (void)mapViewDidForeground:(BMKMapView *)mapView;
824
827 - (void)mapViewDidFinishLoading:(BMKMapView *)mapView;
828
832 - (void)mapViewDidRenderValidData:(BMKMapView *)mapView withError:(NSError *)error;
833
836 - (void)mapViewDidFinishRendering:(BMKMapView *)mapView;
837
841 - (void)mapView:(BMKMapView *)mapView onDrawMapFrame:(BMKMapStatus *)status;
842
846 - (void)mapView:(BMKMapView *)mapView regionWillChangeAnimated:(BOOL)animated;
847
852 - (void)mapView:(BMKMapView *)mapView regionWillChangeAnimated:(BOOL)animated reason:(BMKRegionChangeReason)reason;
853
857 - (void)mapView:(BMKMapView *)mapView regionDidChangeAnimated:(BOOL)animated;
858
863 - (void)mapView:(BMKMapView *)mapView regionDidChangeAnimated:(BOOL)animated reason:(BMKRegionChangeReason)reason;
864
869 - (nullable __kindof BMKAnnotationView *)mapView:(BMKMapView *)mapView viewForAnnotation:(id <BMKAnnotation>)annotation;
870
874 - (void)mapView:(BMKMapView *)mapView didAddAnnotationViews:(NSArray *)views;
875
880 - (void)mapView:(BMKMapView *)mapView clickAnnotationView:(BMKAnnotationView *)view;
881
887 - (void)mapView:(BMKMapView *)mapView didSelectAnnotationView:(BMKAnnotationView *)view;
888
892 - (void)mapView:(BMKMapView *)mapView didDeselectAnnotationView:(BMKAnnotationView *)view;
893
899 - (void)mapView:(BMKMapView *)mapView annotationView:(BMKAnnotationView *)view didChangeDragState:(BMKAnnotationViewDragState)newState
900 fromOldState:(BMKAnnotationViewDragState)oldState;
901
905 - (void)mapView:(BMKMapView *)mapView annotationViewForBubble:(BMKAnnotationView *)view;
906
911 - (nullable __kindof BMKOverlayView *)mapView:(BMKMapView *)mapView viewForOverlay:(id <BMKOverlay>)overlay;
912
916 - (void)mapView:(BMKMapView *)mapView didAddOverlayViews:(NSArray *)overlayViews;
917
921 - (void)mapView:(BMKMapView *)mapView onClickedBMKOverlayView:(BMKOverlayView *)overlayView;
922
926 - (void)mapView:(BMKMapView *)mapView onClickedMapPoi:(BMKMapPoi *)mapPoi;
927
931 - (void)mapView:(BMKMapView *)mapView onClickedMapBlank:(CLLocationCoordinate2D)coordinate;
932
936 - (void)mapview:(BMKMapView *)mapView onDoubleClick:(CLLocationCoordinate2D)coordinate;
937
941 - (void)mapview:(BMKMapView *)mapView onLongClick:(CLLocationCoordinate2D)coordinate;
942
948 - (void)mapview:(BMKMapView *)mapView onForceTouch:(CLLocationCoordinate2D)coordinate force:(CGFloat)force maximumPossibleForce:(CGFloat)maximumPossibleForce;
949
952 - (void)mapStatusDidChanged:(BMKMapView *)mapView;
953
958 - (void)mapview:(BMKMapView *)mapView baseIndoorMapWithIn:(BOOL)flag baseIndoorMapInfo:(nullable BMKBaseIndoorMapInfo *)info;
959
963 - (void)mapView:(BMKMapView *)mapView didChangeUserTrackingMode:(BMKUserTrackingMode)mode;
964
967 - (void)mapViewOnClickCompass:(BMKMapView *)mapView;
968
969 @end
970 NS_ASSUME_NONNULL_END
BMKTrafficUGCTypeNoUGC
@ BMKTrafficUGCTypeNoUGC
Definition: BMKMapView.h:29
kBMKPoiTagTypeTravel
@ kBMKPoiTagTypeTravel
旅游出行标签
Definition: BMKMapView.h:118
BMKMapStatus
此类表示地图状态信息
Definition: BMKMapStatus.h:16
BMKMapParticleEffect
BMKMapParticleEffect
枚举：粒子效果
Definition: BMKMapView.h:103
BMKAnnotationViewDragState
NSUInteger BMKAnnotationViewDragState
Definition: BMKAnnotationView.h:22
BMKMapPoint3
三维地理坐标点，用空间坐标表示
Definition: BMKTypes.h:256
kBMKPoiTagTypeEpidemic
@ kBMKPoiTagTypeEpidemic
疫情标签
Definition: BMKMapView.h:117
BMKSwitchIndoorFloorNotExist
@ BMKSwitchIndoorFloorNotExist
地图还未聚焦到传入的室内图
Definition: BMKMapView.h:73
BMKMapView(LocationViewAPI)
Definition: BMKMapView.h:571
BMKTrafficUGCTypeEmergency
@ BMKTrafficUGCTypeEmergency
道路封闭
Definition: BMKMapView.h:33
BMKMapView
地图View类，使用此View可以显示地图窗口，并且对地图进行相关的操作
Definition: BMKMapView.h:132
BMKMapView(ParticleEffect)
Definition: BMKMapView.h:778
BMKAnnotation.h
kBMKPoiTagTypeShop
@ kBMKPoiTagTypeShop
店铺标签
Definition: BMKMapView.h:119
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:510
kBMKMapLanguageTypeTraditionalChinese
@ kBMKMapLanguageTypeTraditionalChinese
英文地图
Definition: BMKMapView.h:86
BMKRegionChangeReasonGesture
@ BMKRegionChangeReasonGesture
Definition: BMKMapView.h:78
kBMKMapLanguageTypeJapanese
@ kBMKMapLanguageTypeJapanese
意大利语地图
Definition: BMKMapView.h:91
BMKMapPoint
地理坐标点，用直角地理坐标表示
Definition: BMKTypes.h:230
BMKHexagonHeatMap
蜂窝热力图的绘制数据和显示样式类
Definition: BMKHexagonHeatMap.h:32
kBMKMapLanguageTypeSpanish
@ kBMKMapLanguageTypeSpanish
俄语地图
Definition: BMKMapView.h:96
BMKHexagonHeatMap.h
BMKUserTrackingModeHeading
@ BMKUserTrackingModeHeading
普通定位模式
Definition: BMKMapView.h:53
BMKMapView(MapLayerAPI)
Definition: BMKMapView.h:739
BMKMapParticleEffectRainStorm
@ BMKMapParticleEffectRainStorm
Definition: BMKMapView.h:106
BMKMapParticleEffectSandStorm
@ BMKMapParticleEffectSandStorm
Definition: BMKMapView.h:108
BMKCustomMapStyleOption
Definition: BMKCustomMapStyleOption.h:13
BMKMapView(AnnotationAPI)
Definition: BMKMapView.h:591
BMKMapView(MapStyleAPI)
Definition: BMKMapView.h:803
BMKUserTrackingModeFollowWithHeading
@ BMKUserTrackingModeFollowWithHeading
定位跟随模式
Definition: BMKMapView.h:55
kBMKLayerSDKOverlay
@ kBMKLayerSDKOverlay
Definition: BMKMapView.h:123
BMKSwitchIndoorFloorError
BMKSwitchIndoorFloorError
枚举：室内图切换楼层结果
Definition: BMKMapView.h:69
kBMKLayerNewSDKDefaultOverlay
@ kBMKLayerNewSDKDefaultOverlay
SDK蜂窝热力图图层
Definition: BMKMapView.h:126
BMKRegionChangeReason
BMKRegionChangeReason
枚举：地图区域改变原因
Definition: BMKMapView.h:77
kBMKLayerSDKHexagonHeatMap
@ kBMKLayerSDKHexagonHeatMap
SDK热力图图层
Definition: BMKMapView.h:125
kBMKMapLanguageTypeFrench
@ kBMKMapLanguageTypeFrench
繁体中文地图
Definition: BMKMapView.h:87
kBMKMapLanguageTypeKorean
@ kBMKMapLanguageTypeKorean
日语地图
Definition: BMKMapView.h:92
BMKLogoPositionRightTop
@ BMKLogoPositionRightTop
地图右下方
Definition: BMKMapView.h:65
BMKMapParticleEffectUnknow
@ BMKMapParticleEffectUnknow
Definition: BMKMapView.h:104
BMKMapPoi::pt
CLLocationCoordinate2D pt
点标注的经纬度坐标
Definition: BMKMapView.h:42
BMKOverlay-p
该类是地图覆盖物的基类，所有地图的覆盖物需要继承自此类
Definition: BMKOverlay.h:17
kBMKMapLanguageTypeVietnamese
@ kBMKMapLanguageTypeVietnamese
土耳其语地图
Definition: BMKMapView.h:99
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:109
kBMKMapLanguageTypeChinese
@ kBMKMapLanguageTypeChinese
Definition: BMKMapView.h:84
kBMKMapLanguageTypeMalayalam
@ kBMKMapLanguageTypeMalayalam
韩语地图
Definition: BMKMapView.h:93
BMKTrafficUGCType
BMKTrafficUGCType
Definition: BMKMapView.h:28
BMKMapPoi::trafficUGCType
BMKTrafficUGCType trafficUGCType
Poi点路况信息
Definition: BMKMapView.h:48
BMKMapParticleEffectFlower
@ BMKMapParticleEffectFlower
Definition: BMKMapView.h:110
BMKAnnotationView.h
BMKLogoPositionLeftBottom
@ BMKLogoPositionLeftBottom
Definition: BMKMapView.h:60
BMKMapView(HexagonHeatMapAPI)
Definition: BMKMapView.h:730
kBMKMapLanguageTypeIndonesian
@ kBMKMapLanguageTypeIndonesian
德语地图
Definition: BMKMapView.h:89
BMKMapParticleEffectSnow
@ BMKMapParticleEffectSnow
Definition: BMKMapView.h:105
BMKMapPoi
点击地图标注返回数据结构
Definition: BMKMapView.h:37
BMKLogoPosition
BMKLogoPosition
枚举：logo位置
Definition: BMKMapView.h:59
BMKCoordinateRegion
表示一个经纬度区域
Definition: BMKTypes.h:207
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
kBMKMapLanguageTypeTurkish
@ kBMKMapLanguageTypeTurkish
泰语地图
Definition: BMKMapView.h:98
BMKBaseIndoorMapInfo.h
BMKMapViewDelegate-p
MapView的Delegate，mapView通过此类来通知用户对应的事件
Definition: BMKMapView.h:812
BMKSwitchIndoorFloorSuccess
@ BMKSwitchIndoorFloorSuccess
Definition: BMKMapView.h:70
BMKMapLanguageType
BMKMapLanguageType
Definition: BMKMapView.h:83
BMKMapView(OverlaysAPI)
地图View类(和Overlay操作相关的接口)
Definition: BMKMapView.h:657
BMKCustomMapStyleOption.h
BMKMapView(IndoorMapAPI)
Definition: BMKMapView.h:548
BMKLogoPositionLeftTop
@ BMKLogoPositionLeftTop
地图左下方
Definition: BMKMapView.h:61
BMKMapView(HeatMapAPI)
Definition: BMKMapView.h:705
BMKTrafficUGCTypeBlocking
@ BMKTrafficUGCTypeBlocking
道路拥堵
Definition: BMKMapView.h:32
kBMKMapLanguageTypeThai
@ kBMKMapLanguageTypeThai
西班牙语地图
Definition: BMKMapView.h:97
BMKMapParticleEffectSmog
@ BMKMapParticleEffectSmog
Definition: BMKMapView.h:107
BMKOverlayView.h
BMKLayerType
BMKLayerType
Definition: BMKMapView.h:122
BMKUserTrackingMode
BMKUserTrackingMode
Definition: BMKMapView.h:51
BMKLocationViewDisplayParam.h
kBMKMapLanguageTypeRussian
@ kBMKMapLanguageTypeRussian
葡萄牙语地图
Definition: BMKMapView.h:95
BMKMapRect
矩形，用直角地理坐标表示
Definition: BMKTypes.h:286
BMKSwitchIndoorFloorNotFocused
@ BMKSwitchIndoorFloorNotFocused
切换楼层失败
Definition: BMKMapView.h:72
BMKParticleEffectOption
Definition: BMKParticleEffectOption.h:15
kBMKPoiTagTypeAll
@ kBMKPoiTagTypeAll
显示poi标签 / 屏蔽所有poi标签
Definition: BMKMapView.h:116
BMKUserTrackingModeNone
@ BMKUserTrackingModeNone
Definition: BMKMapView.h:52
BMKLogoPositionRightBottom
@ BMKLogoPositionRightBottom
地图中上方
Definition: BMKMapView.h:64
BMKMapGestureDelegate.h
BMKMapTouch.h
BMKCoordinateBounds
表示一个经纬度区域
Definition: BMKTypes.h:200
BMKParticleEffectOption.h
BMKUserTrackingModeFollow
@ BMKUserTrackingModeFollow
定位方向模式
Definition: BMKMapView.h:54
BMKLocationViewDisplayParam
此类表示定位图层自定义样式参数
Definition: BMKLocationViewDisplayParam.h:24
kBMKMapLanguageTypePortuguese
@ kBMKMapLanguageTypePortuguese
马来语地图
Definition: BMKMapView.h:94
BMKPoiTagType
BMKPoiTagType
用于控制poi标签显示的类别枚举
Definition: BMKMapView.h:115
kBMKMapLanguageTypeItalian
@ kBMKMapLanguageTypeItalian
印尼语地图
Definition: BMKMapView.h:90
kBMKMapLanguageTypeGerman
@ kBMKMapLanguageTypeGerman
法语地图
Definition: BMKMapView.h:88
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:124