iOS息屏导航渲染SDK 0.6.2
Loading...
Searching...
No Matches
AMCMapMarker.h
Go to the documentation of this file.
1//
2// AMCMapMarker.h
3// AMCMapKit
4//
5// Created by lly on 2023/12/27.
6//
7
8#import <Foundation/Foundation.h>
9#import <CoreLocation/CLLocation.h>
10#import <UIKit/UIKit.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
15@interface AMCMapMarker : NSObject
16
17@property (nonatomic,assign) CLLocationCoordinate2D coord;
18
19//标题,需要保证title和icon其中至少一个有值,否则无效(有图标时,优先显示图标,没有标题时,才显示文字)
20//Title, it is necessary to ensure that at least one of the title and icon has a value, otherwise it is invalid (when there is an icon, the icon is displayed first, and only when there is no title, the text is displayed)
21@property (nonatomic,copy,nullable) NSString *title;
22
23@property (nonatomic,assign) NSInteger fontSize;
24
25@property (nonatomic,strong) UIColor *fontColor;
26
27@property (nonatomic,strong,nullable) UIImage *icon;
28
29@property (nonatomic,assign) CGPoint anchor;//锚点,默认为(0.5,1.0),即中下方 Anchor point, default is (0.5, 1.0), which is located in the middle and lower part
30
31@property (nonatomic,assign) float angle;//icon图标的旋转角度[0,360), 正北为0度,顺时针方向 The rotation angle of the icon is [0360], with 0 degrees for true north and clockwise direction
32
33@end
34
35NS_ASSUME_NONNULL_END
Definition AMCMapMarker.h:16
float angle
Definition AMCMapMarker.h:31
UIColor * fontColor
Definition AMCMapMarker.h:25
CLLocationCoordinate2D coord
Definition AMCMapMarker.h:17
NSString * title
Definition AMCMapMarker.h:21
NSInteger fontSize
Definition AMCMapMarker.h:23
UIImage * icon
Definition AMCMapMarker.h:27
CGPoint anchor
Definition AMCMapMarker.h:29
© 2024 高德信息技术有限公司版权所有,保留所有权利。