高德地图SDK(导航) V11.2.0501

Loading...
Searching...
No Matches
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
12NS_ASSUME_NONNULL_BEGIN
13 typedef NS_OPTIONS(NSUInteger, MAPoiFilterType) {
14 MAPoiFilterTypePoi = 0x00000001,
15 MAPoiFilterTypeRoadName = 0x00000002,
16 MAPoiFilterTypeRoadShield = 0x00000004,
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
30NS_ASSUME_NONNULL_END
NS_OPTIONS
NS_ASSUME_NONNULL_BEGIN typedef NS_OPTIONS(NSUInteger, MAPoiFilterType)
Definition MAPoiFilter.h:13
MAMapView
Definition MAMapView.h:98
MAPoiFilter
Definition MAPoiFilter.h:22
MAPoiFilter::keyName
NSString * keyName
避让框名称 Avoidance box name
Definition MAPoiFilter.h:26
MAPoiFilter::filterType
MAPoiFilterType filterType
避让类型 Avoid type
Definition MAPoiFilter.h:22
MAPoiFilter::position
NSArray< NSValue * > * position
四边形避让框坐标 Quadrilateral avoidance box coordinates
Definition MAPoiFilter.h:25
© 2017 高德信息技术有限公司 版权所有，保留所有权利。