高德地图SDK(导航)  V11.1.000
MAMapView.h
Go to the documentation of this file.
1 //
2 // MAMapView.h
3 // MAMapKit
4 //
5 // Created by 翁乐 on 3/17/16.
6 // Copyright © 2016 Amap. All rights reserved.
7 //
8 
9 #import "MAConfig.h"
10 #import <Foundation/Foundation.h>
11 #import <UIKit/UIKit.h>
12 #import "MAOverlay.h"
13 #import "MAOverlayRenderer.h"
14 #import "MAAnnotationView.h"
15 #import "MACircle.h"
16 #import "MAUserLocation.h"
17 #import "MAMapStatus.h"
18 #import "MAIndoorInfo.h"
21 #import <AMapFoundationKit/AMapServices.h>
22 #import "MABaseEngineOverlay.h"
23 #import "MAPoiFilter.h"
24 
27 typedef NS_ENUM(NSInteger, MAMapType)
28 {
35 };
36 
39 typedef NS_ENUM(NSInteger, MAUserTrackingMode)
40 {
44 };
45 
48 typedef NS_ENUM(NSInteger, MATrafficStatus)
49 {
55 };
56 
59 typedef NS_ENUM(NSInteger, MAOverlayLevel) {
62 };
63 
64 #pragma mark - 动画相关的key Animation-related key
67 extern NSString * const kMAMapLayerCenterMapPointKey;
68 
71 extern NSString * const kMAMapLayerZoomLevelKey;
72 
75 extern NSString * const kMAMapLayerRotationDegreeKey;
76 
79 extern NSString * const kMAMapLayerCameraDegreeKey;
80 
81 
82 @protocol MAMapViewDelegate;
83 
84 @interface MAMapView : UIView
85 
88 @property (nonatomic, assign, class) BOOL metalEnabled;
89 
92 @property (nonatomic, assign, class) BOOL terrainEnabled;
93 
96 @property (nonatomic, assign, readonly) BOOL terrainAuth;
97 
100 @property (nonatomic, weak) id<MAMapViewDelegate> delegate;
101 
104 @property (nonatomic) MAMapType mapType;
105 
108 @property (nonatomic) CLLocationCoordinate2D centerCoordinate;
109 
112 @property (nonatomic) MACoordinateRegion region;
113 
116 @property (nonatomic) MAMapRect visibleMapRect;
117 
120 @property (nonatomic, assign) MACoordinateRegion limitRegion;
121 
124 @property (nonatomic, assign) MAMapRect limitMapRect;
125 
128 @property (nonatomic) CGFloat zoomLevel;
129 
132 @property (nonatomic) CGFloat minZoomLevel;
133 
136 @property (nonatomic) CGFloat maxZoomLevel;
137 
140 @property (nonatomic) CGFloat rotationDegree;
141 
144 @property (nonatomic) CGFloat cameraDegree;
145 
148 @property (nonatomic, assign) BOOL zoomingInPivotsAroundAnchorPoint;
149 
152 @property (nonatomic, getter = isZoomEnabled) BOOL zoomEnabled;
153 
156 @property (nonatomic, getter = isScrollEnabled) BOOL scrollEnabled;
157 
160 @property (nonatomic, getter = isRotateEnabled) BOOL rotateEnabled;
161 
164 @property (nonatomic, getter = isRotateCameraEnabled) BOOL rotateCameraEnabled;
165 
168 @property (nonatomic, getter = isShowsBuildings) BOOL showsBuildings;
169 
172 @property (nonatomic, assign, getter = isShowsLabels) BOOL showsLabels;
173 
176 @property (nonatomic, getter = isShowTraffic) BOOL showTraffic;
177 
180 @property (nonatomic, copy) NSDictionary <NSNumber *, UIColor *> *trafficStatus __attribute((deprecated("Deprecated since 7.8.0")));
181 
184 @property (nonatomic, assign) BOOL touchPOIEnabled;
185 
188 @property (nonatomic, assign) BOOL showsCompass;
189 
192 @property (nonatomic, assign) CGPoint compassOrigin;
193 
196 @property (nonatomic, readonly) CGSize compassSize;
197 
200 @property (nonatomic, assign) BOOL showsScale;
201 
204 @property (nonatomic, assign) CGPoint scaleOrigin;
205 
208 @property (nonatomic, readonly) CGSize scaleSize;
209 
212 @property (nonatomic, assign) CGPoint logoCenter;
213 
216 @property (nonatomic, readonly) CGSize logoSize;
217 
220 @property (nonatomic, readonly) double metersPerPointForCurrentZoom;
221 
224 @property (nonatomic, readonly) BOOL isAbroad;
225 
228 @property (nonatomic, assign) NSUInteger maxRenderFrame;
229 
232 @property (nonatomic, assign) BOOL isAllowDecreaseFrame;
233 
236 @property (nonatomic, assign) BOOL openGLESDisabled __attribute((deprecated("Deprecated, since 7.9.0, please use the renderringDisabled property")));
237 
240 @property (nonatomic, assign) BOOL renderringDisabled;
241 
244 @property (nonatomic, assign) CGPoint screenAnchor;
245 
248 @property (nonatomic, copy) NSRunLoopMode runLoopMode;
249 
252 #if MA_INCLUDE_WORLD_EN_MAP
253 @property (nonatomic, strong) NSNumber *mapLanguage;
254 #endif
255 
258 @property (nonatomic, assign, class) AMapRegionLanguageType regionLanguageType;
259 
262 @property (nonatomic, assign, class) BOOL loadWorldVectorMap;
263 
272 - (instancetype)initWithFrame:(CGRect)frame isNavi:(BOOL)isNavi;
273 
280 - (instancetype)initWithFrame:(CGRect)frame scaleFactor:(CGFloat)scaleFactor;
281 
282 
291 - (void)setRegion:(MACoordinateRegion)region animated:(BOOL)animated;
292 
301 - (MACoordinateRegion)regionThatFits:(MACoordinateRegion)region;
302 
311 - (void)setVisibleMapRect:(MAMapRect)mapRect animated:(BOOL)animated;
312 
321 - (MAMapRect)mapRectThatFits:(MAMapRect)mapRect;
322 
333 - (MAMapRect)mapRectThatFits:(MAMapRect)mapRect edgePadding:(UIEdgeInsets)insets;
334 
345 - (void)setVisibleMapRect:(MAMapRect)mapRect edgePadding:(UIEdgeInsets)insets animated:(BOOL)animated;
346 
359 - (void)setVisibleMapRect:(MAMapRect)mapRect edgePadding:(UIEdgeInsets)insets animated:(BOOL)animated duration:(CFTimeInterval)duration;
360 
369 - (void)setCenterCoordinate:(CLLocationCoordinate2D)coordinate animated:(BOOL)animated;
370 
379 - (void)setZoomLevel:(CGFloat)zoomLevel animated:(BOOL)animated;
380 
391 - (void)setZoomLevel:(CGFloat)zoomLevel atPivot:(CGPoint)pivot animated:(BOOL)animated;
392 
403 - (void)setRotationDegree:(CGFloat)rotationDegree animated:(BOOL)animated duration:(CFTimeInterval)duration;
404 
415 - (void)setCameraDegree:(CGFloat)cameraDegree animated:(BOOL)animated duration:(CFTimeInterval)duration;
416 
424 
425 
434 - (void)setMapStatus:(MAMapStatus *)status animated:(BOOL)animated;
435 
446 - (void)setMapStatus:(MAMapStatus *)status
447  animated:(BOOL)animated
448  duration:(CFTimeInterval)duration;
449 
456 - (void)setCompassImage:(UIImage *)image;
457 
466 - (UIImage *)takeSnapshotInRect:(CGRect)rect __attribute((deprecated("Deprecated, please use the takeSnapshotInRect:withCompletionBlock: method since 6.0.0")));
467 
476 - (void)takeSnapshotInRect:(CGRect)rect withCompletionBlock:(void (^)(UIImage *resultImage, NSInteger state))block;
477 
488 - (void)takeSnapshotInRect:(CGRect)rect timeoutInterval:(NSTimeInterval)timeout completionBlock:(void (^)(UIImage *resultImage, NSInteger state))block;
489 
498 - (double)metersPerPointForZoomLevel:(CGFloat)zoomLevel;
499 
510 - (CGPoint)convertCoordinate:(CLLocationCoordinate2D)coordinate toPointToView:(UIView *)view;
511 
522 - (CLLocationCoordinate2D)convertPoint:(CGPoint)point toCoordinateFromView:(UIView *)view;
523 
534 - (CGRect)convertRegion:(MACoordinateRegion)region toRectToView:(UIView *)view;
535 
546 - (MACoordinateRegion)convertRect:(CGRect)rect toRegionFromView:(UIView *)view;
547 
557 - (void)reloadMap;
558 
563 - (void)clearDisk;
564 
569 - (void)reloadInternalTexture;
570 
577 - (NSString *)mapContentApprovalNumber;
578 
585 - (NSString *)satelliteImageApprovalNumber;
586 
593 - (NSString *)terrainApprovalNumber;
594 
607 - (void)addAnimationWith:(CAKeyframeAnimation *)mapCenterAnimation
608  zoomAnimation:(CAKeyframeAnimation *)zoomAnimation
609  rotateAnimation:(CAKeyframeAnimation *)rotateAnimation
610  cameraDegreeAnimation:(CAKeyframeAnimation *)cameraDegreeAnimation;
611 
616 - (void)forceRefresh;
617 
624 - (void)setConstructingRoadEnable:(BOOL)enabled;
625 
626 - (void)setMapOptRecordState:(BOOL)state;
627 #pragma mark - Privacy 隐私合规 Privacy compliance
636 + (void)updatePrivacyShow:(AMapPrivacyShowStatus)showStatus privacyInfo:(AMapPrivacyInfoStatus)containStatus;
643 + (void)updatePrivacyAgree:(AMapPrivacyAgreeStatus)agreeStatus;
644 
645 @end
646 
648 
651 @property (nonatomic, readonly) NSArray *annotations;
652 
655 @property (nonatomic, copy) NSArray *selectedAnnotations;
656 
659 @property (nonatomic, readonly) CGRect annotationVisibleRect;
660 
667 - (void)addAnnotation:(id <MAAnnotation>)annotation;
668 
675 - (void)addAnnotations:(NSArray *)annotations;
676 
683 - (void)removeAnnotation:(id <MAAnnotation>)annotation;
684 
691 - (void)removeAnnotations:(NSArray *)annotations;
692 
701 - (NSSet *)annotationsInMapRect:(MAMapRect)mapRect;
702 
711 - (MAAnnotationView *)viewForAnnotation:(id <MAAnnotation>)annotation;
712 
721 - (MAAnnotationView *)dequeueReusableAnnotationViewWithIdentifier:(NSString *)identifier;
722 
731 - (void)selectAnnotation:(id <MAAnnotation>)annotation animated:(BOOL)animated;
732 
741 - (void)deselectAnnotation:(id <MAAnnotation>)annotation animated:(BOOL)animated;
742 
751 - (void)showAnnotations:(NSArray *)annotations animated:(BOOL)animated;
752 
763 - (void)showAnnotations:(NSArray *)annotations edgePadding:(UIEdgeInsets)insets animated:(BOOL)animated;
764 
765 @end
766 
767 
769 
772 @property (nonatomic) BOOL showsUserLocation;
773 
776 @property (nonatomic, readonly) MAUserLocation *userLocation;
777 
781 
784 @property (nonatomic, readonly) MACircle *userLocationAccuracyCircle;
785 
788 @property (nonatomic) MAUserTrackingMode userTrackingMode;
789 
792 @property (nonatomic, readonly, getter=isUserLocationVisible) BOOL userLocationVisible;
793 
796 @property (nonatomic) CLLocationDistance distanceFilter;
797 
800 @property (nonatomic) CLLocationAccuracy desiredAccuracy;
801 
804 @property (nonatomic) CLLocationDegrees headingFilter;
805 
808 @property (nonatomic) BOOL pausesLocationUpdatesAutomatically;
809 
812 @property (nonatomic) BOOL allowsBackgroundLocationUpdates;
813 
822 - (void)setUserTrackingMode:(MAUserTrackingMode)mode animated:(BOOL)animated;
823 
830 - (void)updateUserLocationRepresentation:(MAUserLocationRepresentation *)representation;
831 
832 @end
833 
835 
838 @property (nonatomic, readonly) NSArray *overlays;
839 
846 - (NSArray *)overlaysInLevel:(MAOverlayLevel)level;
847 
858 - (void)addOverlay:(id <MAOverlay>)overlay;
859 
868 - (void)addOverlays:(NSArray *)overlays;
869 
878 - (void)addOverlay:(id <MAOverlay>)overlay level:(MAOverlayLevel)level;
879 
888 - (void)addOverlays:(NSArray *)overlays level:(MAOverlayLevel)level;
889 
896 - (void)removeOverlay:(id <MAOverlay>)overlay;
897 
904 - (void)removeOverlays:(NSArray *)overlays;
905 
920 - (void)insertOverlay:(id <MAOverlay>)overlay atIndex:(NSUInteger)index level:(MAOverlayLevel)level;
921 
930 - (void)insertOverlay:(id <MAOverlay>)overlay aboveOverlay:(id <MAOverlay>)sibling;
931 
940 - (void)insertOverlay:(id <MAOverlay>)overlay belowOverlay:(id <MAOverlay>)sibling;
941 
950 - (void)insertOverlay:(id <MAOverlay>)overlay atIndex:(NSUInteger)index;
951 
960 - (void)exchangeOverlayAtIndex:(NSUInteger)index1 withOverlayAtIndex:(NSUInteger)index2;
961 
972 - (void)exchangeOverlayAtIndex:(NSUInteger)index1 withOverlayAtIndex:(NSUInteger)index2 atLevel:(MAOverlayLevel)level;
973 
980 - (void)exchangeOverlay:(id <MAOverlay>)overlay1 withOverlay:(id <MAOverlay>)overlay2;
981 
990 - (MAOverlayRenderer *)rendererForOverlay:(id <MAOverlay>)overlay;
991 
1000 - (void)showOverlays:(NSArray *)overlays animated:(BOOL)animated;
1001 
1012 - (void)showOverlays:(NSArray *)overlays edgePadding:(UIEdgeInsets)insets animated:(BOOL)animated;
1013 
1024 - (NSArray*)getHittedPolylinesWith:(CLLocationCoordinate2D)tappedCoord traverseAll:(BOOL)traverseAll;
1025 
1032 - (void)setCurrentLocation:(CLLocationCoordinate2D)location;
1033 @end
1034 
1035 #if MA_INCLUDE_INDOOR
1037 
1040 @property (nonatomic, getter = isShowsIndoorMap) BOOL showsIndoorMap;
1041 
1044 @property (nonatomic, getter = isShowsIndoorMapControl) BOOL showsIndoorMapControl;
1045 
1048 @property (nonatomic, readonly) CGSize indoorMapControlSize;
1049 
1056 - (void)setIndoorMapControlOrigin:(CGPoint)origin;
1057 
1064 - (void)setCurrentIndoorMapFloorIndex:(NSInteger)floorIndex;
1065 
1070 - (void)clearIndoorMapCache;
1071 
1072 @end
1073 #endif
1074 
1078 
1081 @property (nonatomic, assign) BOOL customMapStyleEnabled;
1082 
1089 - (void)setCustomMapStyleOptions:(MAMapCustomStyleOptions *)styleOptions;
1090 
1091 @end
1092 
1096 
1107 - (NSInteger)hideBuildingsWithPolygon:(CLLocationCoordinate2D *)polygon polygonSize:(NSUInteger)polygonSize;
1108 
1115 - (void)showHiddenBuildingsWithOperationId:(NSInteger)operationId;
1116 @end
1117 
1119 
1126 - (void)addEngineOverlay:(MABaseEngineOverlay *)overlay;
1127 @end
1128 
1135 - (void)addPoiFilter:(MAPoiFilter *)poiFilter;
1142 - (void)removePoiFilter:(NSString *)keyName;
1147 - (void)clearPoiFilter;
1148 @end
1149 
1150 #pragma mark - MAMapViewDelegate
1151 @protocol MAMapViewDelegate <NSObject>
1152 
1153 @optional
1154 
1161 - (void)mapViewRegionChanged:(MAMapView *)mapView;
1162 
1171 - (void)mapView:(MAMapView *)mapView regionWillChangeAnimated:(BOOL)animated;
1172 
1181 - (void)mapView:(MAMapView *)mapView regionDidChangeAnimated:(BOOL)animated;
1182 
1193 - (void)mapView:(MAMapView *)mapView regionWillChangeAnimated:(BOOL)animated wasUserAction:(BOOL)wasUserAction;
1194 
1205 - (void)mapView:(MAMapView *)mapView regionDidChangeAnimated:(BOOL)animated wasUserAction:(BOOL)wasUserAction;
1206 
1215 - (void)mapView:(MAMapView *)mapView mapWillMoveByUser:(BOOL)wasUserAction;
1216 
1225 - (void)mapView:(MAMapView *)mapView mapDidMoveByUser:(BOOL)wasUserAction;
1226 
1235 - (void)mapView:(MAMapView *)mapView mapWillZoomByUser:(BOOL)wasUserAction;
1236 
1245 - (void)mapView:(MAMapView *)mapView mapDidZoomByUser:(BOOL)wasUserAction;
1246 
1253 - (void)mapViewWillStartLoadingMap:(MAMapView *)mapView;
1254 
1261 - (void)mapViewDidFinishLoadingMap:(MAMapView *)mapView;
1262 
1271 - (void)mapViewDidFailLoadingMap:(MAMapView *)mapView withError:(NSError *)error;
1272 
1281 - (void)mapView:(MAMapView *)mapView didFailLoadTerrainWithError:(NSError *)error;
1282 
1308 - (MAAnnotationView *)mapView:(MAMapView *)mapView viewForAnnotation:(id <MAAnnotation>)annotation;
1309 
1318 - (void)mapView:(MAMapView *)mapView didAddAnnotationViews:(NSArray *)views;
1319 
1328 - (void)mapView:(MAMapView *)mapView didSelectAnnotationView:(MAAnnotationView *)view;
1329 
1338 - (void)mapView:(MAMapView *)mapView didDeselectAnnotationView:(MAAnnotationView *)view;
1339 
1346 - (void)mapViewWillStartLocatingUser:(MAMapView *)mapView;
1347 
1354 - (void)mapViewDidStopLocatingUser:(MAMapView *)mapView;
1355 
1366 - (void)mapView:(MAMapView *)mapView didUpdateUserLocation:(MAUserLocation *)userLocation updatingLocation:(BOOL)updatingLocation;
1367 
1375 - (void)mapViewRequireLocationAuth:(CLLocationManager *)locationManager;
1376 
1385 - (void)mapView:(MAMapView *)mapView didFailToLocateUserWithError:(NSError *)error;
1386 
1398 - (void)mapView:(MAMapView *)mapView annotationView:(MAAnnotationView *)view didChangeDragState:(MAAnnotationViewDragState)newState
1399  fromOldState:(MAAnnotationViewDragState)oldState;
1400 
1411 - (MAOverlayRenderer *)mapView:(MAMapView *)mapView rendererForOverlay:(id <MAOverlay>)overlay;
1412 
1421 - (void)mapView:(MAMapView *)mapView didAddOverlayRenderers:(NSArray *)overlayRenderers;
1422 
1433 - (void)mapView:(MAMapView *)mapView annotationView:(MAAnnotationView *)view calloutAccessoryControlTapped:(UIControl *)control;
1434 
1443 - (void)mapView:(MAMapView *)mapView didAnnotationViewCalloutTapped:(MAAnnotationView *)view;
1444 
1452 - (void)mapView:(MAMapView *)mapView didAnnotationViewTapped:(MAAnnotationView *)view;
1453 
1464 - (void)mapView:(MAMapView *)mapView didChangeUserTrackingMode:(MAUserTrackingMode)mode animated:(BOOL)animated;
1465 
1474 - (void)mapView:(MAMapView *)mapView didChangeOpenGLESDisabled:(BOOL)openGLESDisabled __attribute((deprecated("Deprecated, since 7.9.0")));
1475 
1484 - (void)mapView:(MAMapView *)mapView didTouchPois:(NSArray *)pois;
1485 
1494 - (void)mapView:(MAMapView *)mapView didSingleTappedAtCoordinate:(CLLocationCoordinate2D)coordinate;
1495 
1504 - (void)mapView:(MAMapView *)mapView didLongPressedAtCoordinate:(CLLocationCoordinate2D)coordinate;
1505 
1512 - (void)mapInitComplete:(MAMapView *)mapView;
1513 
1514 #if MA_INCLUDE_INDOOR
1524 - (void)mapView:(MAMapView *)mapView didIndoorMapShowed:(MAIndoorInfo *)indoorInfo;
1525 
1535 - (void)mapView:(MAMapView *)mapView didIndoorMapFloorIndexChanged:(MAIndoorInfo *)indoorInfo;
1536 
1545 - (void)mapView:(MAMapView *)mapView didIndoorMapHidden:(MAIndoorInfo *)indoorInfo;
1546 #endif //end of MA_INCLUDE_INDOOR
1547 
1554 - (void)offlineDataWillReload:(MAMapView *)mapView;
1555 
1562 - (void)offlineDataDidReload:(MAMapView *)mapView;
1563 
1569 - (void)customMapStyleAuthFailedWithErrorCode:(int)errorCode message:(NSString *)msg;
1570 
1571 @end
1572 
MAAnnotationViewDragState
Definition: MAAnnotationView.h:16
NSString *const kMAMapLayerCenterMapPointKey
NSString *const kMAMapLayerCameraDegreeKey
MAMapType
Definition: MAMapView.h:28
@ MAMapTypeSatellite
卫星地图 Satellite Map
Definition: MAMapView.h:30
@ MAMapTypeNaviNight
导航夜间视图 Navigation Night View
Definition: MAMapView.h:34
@ MAMapTypeNavi
导航视图 Navigation View
Definition: MAMapView.h:32
@ MAMapTypeStandardNight
夜间视图 Night View
Definition: MAMapView.h:31
@ MAMapTypeStandard
普通地图 Standard Map
Definition: MAMapView.h:29
@ MAMapTypeBus
公交视图 Transit View
Definition: MAMapView.h:33
NSString *const kMAMapLayerZoomLevelKey
MATrafficStatus
Definition: MAMapView.h:49
@ MATrafficStatusSmooth
1 通畅 Smooth
Definition: MAMapView.h:50
@ MATrafficStatusSeriousJam
4 严重阻塞 Severely blocked
Definition: MAMapView.h:53
@ MATrafficStatusSlow
2 缓行 Slow-moving
Definition: MAMapView.h:51
@ MATrafficStatusJam
3 阻塞 Blocked
Definition: MAMapView.h:52
@ MATrafficStatusExtremelySmooth
5 极度通畅 Extremely smooth
Definition: MAMapView.h:54
MAOverlayLevel
Definition: MAMapView.h:59
@ MAOverlayLevelAboveRoads
在地图底图标注和兴趣点图标之下绘制overlay Draw overlay below map base annotations and POI icons
Definition: MAMapView.h:60
@ MAOverlayLevelAboveLabels
在地图底图标注和兴趣点图标之上绘制overlay Draw overlay on top of map base annotations and POI icons
Definition: MAMapView.h:61
NSString *const kMAMapLayerRotationDegreeKey
MAUserTrackingMode
Definition: MAMapView.h:40
@ MAUserTrackingModeFollow
追踪用户的location更新 Track User's Location Updates
Definition: MAMapView.h:42
@ MAUserTrackingModeNone
不追踪用户的location更新 Do Not Track User's Location Updates
Definition: MAMapView.h:41
@ MAUserTrackingModeFollowWithHeading
追踪用户的location与heading更新 Track user's location and heading updates
Definition: MAMapView.h:43
Definition: MAMapView.h:647
NSArray * annotations
Definition: MAMapView.h:651
NSArray * selectedAnnotations
Definition: MAMapView.h:655
CGRect annotationVisibleRect
Definition: MAMapView.h:659
Definition: MAMapView.h:1095
Definition: MAMapView.h:1077
BOOL customMapStyleEnabled
Definition: MAMapView.h:1081
Definition: MAMapView.h:1118
Definition: MAMapView.h:1036
BOOL showsIndoorMapControl
Definition: MAMapView.h:1044
BOOL showsIndoorMap
Definition: MAMapView.h:1040
CGSize indoorMapControlSize
Definition: MAMapView.h:1048
void clearIndoorMapCache()
清空室内地图缓存 Clear indoor map cache
Definition: MAMapView.h:834
NSArray * overlays
Definition: MAMapView.h:838
Definition: MAMapView.h:1129
void clearPoiFilter()
清除poi避让框 Clear POI avoidance frame
Definition: MAMapView.h:768
MAUserLocation * userLocation
Definition: MAMapView.h:776
MACircle * userLocationAccuracyCircle
Definition: MAMapView.h:784
MAUserTrackingMode userTrackingMode
Definition: MAMapView.h:788
CLLocationDistance distanceFilter
Definition: MAMapView.h:796
BOOL allowsBackgroundLocationUpdates
Definition: MAMapView.h:812
BOOL customizeUserLocationAccuracyCircleRepresentation
Definition: MAMapView.h:780
BOOL userLocationVisible
Definition: MAMapView.h:792
BOOL showsUserLocation
Definition: MAMapView.h:772
BOOL pausesLocationUpdatesAutomatically
Definition: MAMapView.h:808
CLLocationDegrees headingFilter
Definition: MAMapView.h:804
CLLocationAccuracy desiredAccuracy
Definition: MAMapView.h:800
Definition: MAAnnotationView.h:29
Definition: MABaseEngineOverlay.h:14
Definition: MACircle.h:15
Definition: MAIndoorInfo.h:35
Definition: MAMapCustomStyleOptions.h:12
Definition: MAMapStatus.h:18
Definition: MAMapView.h:85
AMapRegionLanguageType regionLanguageType
Definition: MAMapView.h:258
CLLocationCoordinate2D centerCoordinate
Definition: MAMapView.h:108
id< MAMapViewDelegate > delegate
Definition: MAMapView.h:100
BOOL showsLabels
Definition: MAMapView.h:172
CGPoint screenAnchor
Definition: MAMapView.h:244
NSUInteger maxRenderFrame
Definition: MAMapView.h:228
BOOL terrainEnabled
Definition: MAMapView.h:92
CGFloat rotationDegree
Definition: MAMapView.h:140
NSString * terrainApprovalNumber()
获取地形图审图号。(since 8.2.0) Obtain topographic map approval number(since 8.2.0)
MAMapType mapType
Definition: MAMapView.h:104
BOOL showsCompass
Definition: MAMapView.h:188
MAMapRect visibleMapRect
Definition: MAMapView.h:116
BOOL rotateEnabled
Definition: MAMapView.h:160
NSString * mapContentApprovalNumber()
获取地图审图号。如果启用了“自定义样式”功能(customMapStyleEnabled 为 YES),则返回nil。(since 5.4.0) Obtain the map approval numb...
void reloadInternalTexture()
重新加载内部纹理,在纹理被错误释放时可以执行此方法。(since 5.4.0) Reload internal textures, this method can be executed when te...
CGPoint compassOrigin
Definition: MAMapView.h:192
MAMapStatus * getMapStatus()
获取地图状态 Get map status
BOOL showTraffic
Definition: MAMapView.h:176
double metersPerPointForCurrentZoom
Definition: MAMapView.h:220
CGPoint scaleOrigin
Definition: MAMapView.h:204
CGSize logoSize
Definition: MAMapView.h:216
NSRunLoopMode runLoopMode
Definition: MAMapView.h:248
CGSize compassSize
Definition: MAMapView.h:196
MACoordinateRegion limitRegion
Definition: MAMapView.h:120
BOOL zoomEnabled
Definition: MAMapView.h:152
MAMapRect limitMapRect
Definition: MAMapView.h:124
BOOL showsScale
Definition: MAMapView.h:200
NSNumber * mapLanguage
Definition: MAMapView.h:253
CGFloat maxZoomLevel
Definition: MAMapView.h:136
BOOL isAbroad
Definition: MAMapView.h:224
void forceRefresh()
强制刷新。(since 6.0.0) Force refresh
BOOL showsBuildings
Definition: MAMapView.h:168
void reloadMap()
重新加载地图 Reload the map
BOOL terrainAuth
Definition: MAMapView.h:96
NSDictionary< NSNumber *, UIColor * > *trafficStatus __attribute((deprecated("Deprecated since 7.8.0")))
CGFloat cameraDegree
Definition: MAMapView.h:144
CGFloat minZoomLevel
Definition: MAMapView.h:132
CGPoint logoCenter
Definition: MAMapView.h:212
MACoordinateRegion region
Definition: MAMapView.h:112
BOOL isAllowDecreaseFrame
Definition: MAMapView.h:232
CGFloat zoomLevel
Definition: MAMapView.h:128
BOOL rotateCameraEnabled
Definition: MAMapView.h:164
BOOL loadWorldVectorMap
Definition: MAMapView.h:262
BOOL touchPOIEnabled
Definition: MAMapView.h:184
CGSize scaleSize
Definition: MAMapView.h:208
BOOL metalEnabled
Definition: MAMapView.h:88
void clearDisk()
清除所有磁盘上缓存的地图数据(不包括离线地图) Clear all cached map data on disk (excluding offline maps)
BOOL openGLESDisabled __attribute((deprecated("Deprecated, since 7.9.0, please use the renderringDisabled property")))
NSString * satelliteImageApprovalNumber()
获取卫星图片审图号。(since 5.4.0) Obtain satellite image approval number (since 5.4.0)
BOOL renderringDisabled
Definition: MAMapView.h:240
BOOL scrollEnabled
Definition: MAMapView.h:156
BOOL zoomingInPivotsAroundAnchorPoint
Definition: MAMapView.h:148
Definition: MAOverlayRenderer.h:21
Definition: MAPoiFilter.h:22
Definition: MAUserLocation.h:19
Definition: MAUserLocationRepresentation.h:18
Definition: MAAnnotation.h:17
Definition: MAMapView.h:1151
Definition: MAOverlay.h:15
Definition: MAGeometry.h:35
Definition: MAGeometry.h:56
© 2017 高德信息技术有限公司 版权所有,保留所有权利。