BaiduMap_IOSSDK_v6.6.3_Docs  6.6.3
属性 | 所有成员列表
BMKTextMarker类 参考

#import <BMKTextMarker.h>

类 BMKTextMarker 继承关系图:
BMKBaseMarker BMKShape <BMKOverlay> <BMKAnnotation> <BMKAnnotation>

属性

NSString * text
 
BMKTextStylestyle
 
- 属性 继承自 BMKBaseMarker
CLLocationCoordinate2D coordinate
 marker的经纬度坐标 更多...
 
float anchorX
 anchor 更多...
 
float anchorY
 
int offsetX
 偏离anchor多少point(屏幕坐标系,向左「-」、向右「+」),默认0 更多...
 
int offsetY
 偏离anchor多少point(屏幕坐标系,向上「-」、向下「+」),默认0 更多...
 
float rotate
 外部设置Marker旋转角度,绕Z轴旋转角度,默认0 更多...
 
NSUInteger rotateFeature
 Marker旋转角度,起作用的方式,默认:BMKRotateFreeze (BMKRotateAnmination | BMKRotateScreenUpper | BMKRotateFlipNo),只有设置包含BMKRotateItem时外部设置的rotate属性才会起作用;设置多个用|符号;部分设置只能二选一,请参考BMKRotateFeature注释说明 更多...
 
float scaleX
 X轴缩放比例,默认1 更多...
 
float scaleY
 Y轴缩放比例,默认1 更多...
 
BOOL perspective
 是否透视,地图有俯仰角时的远小近大效果,默认NO 更多...
 
CGPoint fixXY
 固定到屏幕XY坐标,单位point,默认(00) 更多...
 
NSUInteger followMapRotateAxis
 Marker跟随地图变化的旋转轴,默认:BMKFollowMapRotateAxisNone不跟随;设置多个用|符号,如同时跟随地图旋转和俯仰角(BMKFollowMapRotateAxisPitch | BMKFollowMapRotateAxisYaw) 更多...
 
BMKCollisionBehavior collisionBehavior
 碰撞检测类型,默认BMKCollisionNotCollide;不参与碰撞;注意,动画过程中暂时不支持检测 更多...
 
int collisionPriority
 碰撞优先级,值越大越不容易被碰掉,默认0 更多...
 
BOOL isOpenCollisionDetection
 开启碰撞检测,默认NO,关闭。对齐安卓,兼容旧接口,建议使用collisionBehavior,对应BMKCollisionWithInner,V6.6.3以后支持 更多...
 
BOOL isForceDisplay
 开启碰撞检测时,是否强制展示,默认NO。对齐安卓,兼容旧接口,建议使用collisionBehavior,对应BMKCollisionInnerAndBasePoi,V6.6.3以后支持 更多...
 
BOOL isOpenCollisionDetectionWithMapPOI
 是否开启与底图POI的碰撞检测,默认NO。对齐安卓,兼容旧接口,建议使用collisionBehavior,对应BMKCollisionAlwaysShow,V6.6.3以后支持 更多...
 
NSUInteger trackBy
 动画,跟随模式,默认BMKAnimationTrackXY 更多...
 
BMKMapAnimationanimation
 动画,除BMKMapTrackAnimation,其他动画默认添加后自动start,使用BMKMapAnimation子类实现动画,支持BMKMapAlphaAnimation,BMKMapRotateAnimation,BMKMapScaleAnimation,BMKMapTranslateAnimation,BMKMapTrackAnimation,BMKMapAnimationSet ,since 6.6.3 更多...
 
BMKVisibility visibility
 
float opacity
 
NSInteger zIndex
 
- 属性 继承自 BMKShape
NSString * title
 要显示的标题;注意:如果不设置title,无法点击annotation,也无法使用回调函数; 更多...
 
NSString * subtitle
 要显示的副标题 更多...
 
- 属性 继承自 <BMKAnnotation>
CLLocationCoordinate2D coordinate
 标注view中心坐标. 更多...
 
- 属性 继承自 <BMKOverlay>
CLLocationCoordinate2D coordinate
 返回区域中心坐标. 更多...
 
BMKMapRect boundingMapRect
 返回区域外接矩形 更多...
 

额外继承的成员函数

- 构造函数 继承自 BMKBaseMarker
(BOOL) - addRichView:
 ‍** Add BMKRichView to this Marker. *‍/ 更多...
 
(BOOL) - removeRichView:
 ‍** Remove BMKRichView from this Marker. *‍/ 更多...
 
(BOOL) - setShowLevel:toLevel:
 
- 构造函数 继承自 <BMKAnnotation>
(NSString *) - title
 获取annotation标题 更多...
 
(NSString *) - subtitle
 获取annotation副标题 更多...
 
(void) - setCoordinate:
 
- 构造函数 继承自 <BMKOverlay>
(BOOL) - intersectsMapRect:
 
- Protected 属性 继承自 BMKBaseMarker
package CLLocationCoordinate2D _coordinate
 
BMKMapRect _boundingMapRect
 

属性说明

◆ style

- (BMKTextStyle*) style
readwritenonatomicstrong

◆ text

- (NSString*) text
readwritenonatomicstrong

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