BaiduMap_IOSSDK_v6.6.5_Docs 6.6.5
载入中...
搜索中...
未找到
构造函数 | 类方法 | Protected 属性 | 属性 | 所有成员列表
BMKTextPathMarker类 参考

#include <BMKTextPathMarker.h>

类 BMKTextPathMarker 继承关系图:
BMKMultiPoint <BMKOverlay> BMKShape <BMKAnnotation> <BMKAnnotation>

构造函数

(BOOL) - setTextPathMarkerWithPoints:count:
 
(BOOL) - setTextPathMarkerWithCoordinates:count:
 
- 构造函数 继承自 BMKMultiPoint
(void) - getCoordinates:range:
 
- 构造函数 继承自 <BMKAnnotation>
(NSString *) - title
 获取annotation标题
 
(NSString *) - subtitle
 获取annotation副标题
 
(void) - setCoordinate:
 
- 构造函数 继承自 <BMKOverlay>
(BOOL) - intersectsMapRect:
 

类方法

(nullable instancetype) + textPathMarkerWithPoints:count:
 
(nullable instancetype) + textPathMarkerWithCoordinates:count:
 

Protected 属性

package BMKMapRect _boundingMapRect
 
- Protected 属性 继承自 BMKMultiPoint
package BMKMapPoint_points
 
NSUInteger _pointCount
 
BMKMapRect _boundingRect
 

属性

NSString * text
 
BMKTextStylestyle
 
- 属性 继承自 BMKMultiPoint
BMKMapPointpoints
 坐标点数组
 
NSUInteger pointCount
 坐标点的个数
 
- 属性 继承自 BMKShape
NSString * title
 要显示的标题;注意:如果不设置title,无法点击annotation,也无法使用回调函数;
 
NSString * subtitle
 要显示的副标题
 
- 属性 继承自 <BMKAnnotation>
CLLocationCoordinate2D coordinate
 标注view中心坐标.
 
- 属性 继承自 <BMKOverlay>
CLLocationCoordinate2D coordinate
 返回区域中心坐标.
 
BMKMapRect boundingMapRect
 返回区域外接矩形
 

函数文档

◆ setTextPathMarkerWithCoordinates:count:

- (BOOL) setTextPathMarkerWithCoordinates: (CLLocationCoordinate2D *) coords
count: (NSUInteger) count 

重新设置路名对象坐标点

参数
coords指定的经纬度坐标点数组
countcoords数组中坐标点的个数
返回
是否设置成功

◆ setTextPathMarkerWithPoints:count:

- (BOOL) setTextPathMarkerWithPoints: (BMKMapPoint *) points
count: (NSUInteger) count 

重新设置路名对象坐标点

参数
points指定的直角坐标点数组
countpoints数组中坐标点的个数
返回
是否设置成功

◆ textPathMarkerWithCoordinates:count:

+ (nullable instancetype) textPathMarkerWithCoordinates: (CLLocationCoordinate2D *) coords
count: (NSUInteger) count 

根据指定坐标点生成路名对象

参数
coords指定的经纬度坐标点数组
countcoords数组中坐标点的个数
返回
新生成的路名对象

◆ textPathMarkerWithPoints:count:

+ (nullable instancetype) textPathMarkerWithPoints: (BMKMapPoint *) points
count: (NSUInteger) count 

根据指定路名的路线信息坐标集合点生成路名对象

参数
points指定的直角坐标点数组
countpoints数组中坐标点的个数
返回
新生成的路名对象

类成员变量说明

◆ _boundingMapRect

- (package BMKMapRect) _boundingMapRect
protected

属性说明

◆ style

- (BMKTextStyle*) style
readwritenonatomicstrong

◆ text

- (NSString*) text
readwritenonatomicstrong

该类的文档由以下文件生成: