iOS高德地图SDK(3D)  V11.2.0001
MAPoiFilter.h
Go to the documentation of this file.
1 //
2 // MAPoiFilter.h
3 // MAMapKit
4 //
5 // Created by linshiqing on 2024/6/18.
6 // Copyright © 2024 Amap. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 @class MAMapView;
11 
12 NS_ASSUME_NONNULL_BEGIN
13 typedef NS_OPTIONS(NSUInteger, MAPoiFilterType) {
14  MAPoiFilterTypePoi = 0x00000001,
15  MAPoiFilterTypeRoadName = 0x00000002,
17  MAPoiFilterTypeLabel3rd = 0x00000008,
18  MAPoiFilterTypeAll = 0xFFFFFFFF
19 };
20 
21 @interface MAPoiFilter : NSObject
22 @property (nonatomic, assign) MAPoiFilterType filterType;
23 // 请将CLLocationCoordinate2D类型使用[NSValue valueWithMACoordinate:]包装下
24 //Please wrap the CLLocationCoordinate2D type with [NSValue valueWithMACoordinate:]
25 @property (nonatomic, copy) NSArray<NSValue *> *position;
26 @property (nonatomic, copy) NSString *keyName;
27 + (instancetype)poiFilter:(MAMapView *)mapView filterType:(MAPoiFilterType)filterType keyName:(NSString *)keyName center:(CLLocationCoordinate2D)center width:(CGFloat)width height:(CGFloat)height;
28 @end
29 
30 NS_ASSUME_NONNULL_END
MAPoiFilterType
Definition: MAPoiFilter.h:13
@ MAPoiFilterTypeRoadShield
避让路牌 Avoid road signs
Definition: MAPoiFilter.h:16
@ MAPoiFilterTypeRoadName
避让底图路名 Avoid basemap road names
Definition: MAPoiFilter.h:15
@ MAPoiFilterTypePoi
避让POI Avoid POI
Definition: MAPoiFilter.h:14
@ MAPoiFilterTypeLabel3rd
避让第三方label Avoid third-party labels
Definition: MAPoiFilter.h:17
@ MAPoiFilterTypeAll
避让所有 Avoid all
Definition: MAPoiFilter.h:18
Definition: MAMapView.h:98
Definition: MAPoiFilter.h:22
NSString * keyName
避让框名称 Avoidance box name
Definition: MAPoiFilter.h:26
MAPoiFilterType filterType
避让类型 Avoid type
Definition: MAPoiFilter.h:22
NSArray< NSValue * > * position
四边形避让框坐标 Quadrilateral avoidance box coordinates
Definition: MAPoiFilter.h:25
© 2017 高德信息技术有限公司 版权所有,保留所有权利。