BaiduMap_IOSSDK_v7.2.0_Docs 7.2.0

BMKBaseMarkerView.h
浏览该文件的文档.
1 //
2 // BMKBaseMarkerView.h
3 // MapComponent
4 //
5 // Created by zhaoxiangru on 2024/3/11.
6 // Copyright © 2024 Baidu. All rights reserved.
7 //
8
9 #import "BMKGeometryView.h"
10 #import "BMKBaseMarker.h"
11 NS_ASSUME_NONNULL_BEGIN
12
13 @interface BMKBaseMarkerView : BMKGeometryView
15 @property (nonatomic, readonly) BMKBaseMarker *marker;
17 @property (assign, nonatomic) BOOL isClickable;
19 @property (nonatomic, assign, getter=isDraggable) BOOL draggable;
20
21
25 - (nullable instancetype)initWithMarker:(BMKBaseMarker *)marker;
26 @end
27
28 NS_ASSUME_NONNULL_END
BMKBaseMarkerView
Definition: BMKBaseMarkerView.h:14
BMKGeometryView
该类定义了一个用opengl绘制geometry的基类
Definition: BMKGeometryView.h:14
BMKBaseMarkerView::marker
BMKBaseMarker * marker
该View对应的marker覆盖物
Definition: BMKBaseMarkerView.h:15
BMKBaseMarker
Definition: BMKBaseMarker.h:19
BMKBaseMarker.h
BMKBaseMarkerView::isClickable
BOOL isClickable
是否可点击，默认YES
Definition: BMKBaseMarkerView.h:17
BMKBaseMarkerView::draggable
BOOL draggable
是否可长按拖拽移动，默认NO。且isClickable为YES时生效。
Definition: BMKBaseMarkerView.h:19
BMKGeometryView.h