BaiduMap_IOSSDK_v6.6.1_Docs
|
文字覆盖物 since 6.5.2 更多...
#import <BMKText.h>
构造函数 | |
(BOOL) | - setCircleWithCenterCoordinate:text: |
![]() | |
(NSString *) | - title |
获取annotation标题 | |
(NSString *) | - subtitle |
获取annotation副标题 | |
(void) | - setCoordinate: |
![]() | |
(BOOL) | - intersectsMapRect: |
类方法 | |
(nullable instancetype) | + textWithCenterCoordinate:text: |
Protected 属性 | |
package CLLocationCoordinate2D | _coordinate |
BMKMapRect | _boundingMapRect |
属性 | |
CLLocationCoordinate2D | coordinate |
文字覆盖物中心点坐标 | |
NSString * | text |
文字覆盖物文字内容 | |
![]() | |
NSString * | title |
要显示的标题;注意:如果不设置title,无法点击annotation,也无法使用回调函数; | |
NSString * | subtitle |
要显示的副标题 | |
![]() | |
CLLocationCoordinate2D | coordinate |
标注view中心坐标. | |
![]() | |
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 | 文字覆盖物文字内容 |