//
//  DMKPolylineView.h
//  DMKMap
//
//  Created by yunfei on 2025/3/27.
//

#import "DMKOverlayPathView.h"
#import "DMKPolyline.h"

NS_ASSUME_NONNULL_BEGIN

/// 此类是DMKPolyline的显示多段线View,可以通过DMKOverlayPathView修改其fill和stroke attributes
@interface DMKPolylineView : DMKOverlayPathView

/// 关联的DMKPolyline model
@property (nonatomic, readonly) DMKPolyline *polyline;

/**
 @brief 根据指定的DMKPolyline生成一个多段线view
 @param polyline 指定DMKPolyline
 @return 新生成的多段线view
 */
- (instancetype)initWithPolyline:(DMKPolyline *)polyline;

@end

NS_ASSUME_NONNULL_END
