BaiduMap_IOSSDK_v7.1.0_Docs 7.1.0

BMKTextPathMarker.h
浏览该文件的文档.
1 //
2 // BMKTextPathMarker.h
3 // MapComponent
4 //
5 // Created by zhaoxiangru on 2024/3/11.
6 // Copyright © 2024 Baidu. All rights reserved.
7 //
8
9 #import "BMKShape.h"
10 #import "BMKOverlay.h"
11 //#import "BMKRichView.h"
12 //#import "BMKBaseUIView.h"
13 #import "BMKMapAnimation.h"
14 #import "BMKCommonDef.h"
15 #import "BMKTextStyle.h"
16 NS_ASSUME_NONNULL_BEGIN
17
18 @interface BMKTextPathMarker : BMKMultiPoint <BMKOverlay>
19 {
20 @package
21 BMKMapRect _boundingMapRect;
22 }
23 @property (nonatomic, strong) NSString *text;
24 @property (nonatomic, strong) BMKTextStyle *style;
25
30 + (nullable instancetype)textPathMarkerWithPoints:(BMKMapPoint *)points count:(NSUInteger)count;
31
36 + (nullable instancetype)textPathMarkerWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
37
42 - (BOOL)setTextPathMarkerWithPoints:(BMKMapPoint *)points count:(NSUInteger)count;
43
48 - (BOOL)setTextPathMarkerWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
49 @end
50
51 NS_ASSUME_NONNULL_END
BMKShape.h
BMKTextPathMarker::style
BMKTextStyle * style
Definition: BMKTextPathMarker.h:25
BMKMapPoint
地理坐标点，用直角地理坐标表示
Definition: BMKTypes.h:230
BMKTextStyle.h
BMKMapAnimation.h
BMKOverlay.h
BMKOverlay-p
该类是地图覆盖物的基类，所有地图的覆盖物需要继承自此类
Definition: BMKOverlay.h:17
BMKTextStyle
文本样式
Definition: BMKTextStyle.h:19
BMKCommonDef.h
BMKTextPathMarker::text
NSString * text
Definition: BMKTextPathMarker.h:24
BMKTextPathMarker
Definition: BMKTextPathMarker.h:20
BMKMultiPoint
该类定义多个点，是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类BMKPolyline,BMKPolygon来实例化
Definition: BMKMultiPoint.h:18