|
BaiduMap_IOSSDK_v6.5.2_Docs
6.5.2
|
文字覆盖物 since 6.5.2 更多...
#import <BMKText.h>
构造函数 | |
| (BOOL) | - setCircleWithCenterCoordinate:text: |
构造函数 继承自 <BMKAnnotation> | |
| (NSString *) | - title |
| 获取annotation标题 更多... | |
| (NSString *) | - subtitle |
| 获取annotation副标题 更多... | |
| (void) | - setCoordinate: |
构造函数 继承自 <BMKOverlay> | |
| (BOOL) | - intersectsMapRect: |
类方法 | |
| (nullable instancetype) | + textWithCenterCoordinate:text: |
Protected 属性 | |
| package CLLocationCoordinate2D | _coordinate |
| BMKMapRect | _boundingMapRect |
属性 | |
| CLLocationCoordinate2D | coordinate |
| 文字覆盖物中心点坐标 更多... | |
| NSString * | text |
| 文字覆盖物文字内容 更多... | |
属性 继承自 BMKShape | |
| NSString * | title |
| 要显示的标题;注意:如果不设置title,无法点击annotation,也无法使用回调函数; 更多... | |
| NSString * | subtitle |
| 要显示的副标题 更多... | |
属性 继承自 <BMKAnnotation> | |
| CLLocationCoordinate2D | coordinate |
| 标注view中心坐标. 更多... | |
属性 继承自 <BMKOverlay> | |
| CLLocationCoordinate2D | coordinate |
| 返回区域中心坐标. 更多... | |
| BMKMapRect | boundingMapRect |
| 返回区域外接矩形 更多... | |
文字覆盖物 since 6.5.2
| - (BOOL) setCircleWithCenterCoordinate: | (CLLocationCoordinate2D) | coord | |
| text: | (NSString *) | text | |
设置文字覆盖物中心点和文本内容
| coord | 字覆盖物的地理坐标 |
| text | 文字覆盖物文字内容 |
| + (nullable instancetype) textWithCenterCoordinate: | (CLLocationCoordinate2D) | coord | |
| text: | (NSString *) | text | |
根据中心点和文本生成文字覆盖物
| coord | 文字覆盖物的地理坐标 |
| text | 文字覆盖物文字内容 |
|
protected |
|
protected |
|
readwritenonatomicassign |
文字覆盖物中心点坐标
|
readwritenonatomiccopy |
文字覆盖物文字内容