//
//  DMKAnnotation.h
//  DMKMap
//
//  Created by yunfei on 2025/3/20.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

NS_ASSUME_NONNULL_BEGIN

@protocol DMKAnnotation <NSObject>

@required

/// 标注view中心坐标
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;

@optional

/// 获取annotation标题
@property (nonatomic, readonly, copy) NSString *title;

/// 获取annotation副标题
@property (nonatomic, readonly, copy) NSString *subTitle;

@end

NS_ASSUME_NONNULL_END
