TencentMapSDK_iOS_3D_v6.15.0
载入中...
搜索中...
未找到
QAgileAnnotation类 参考

点标注数据. 代表一个经纬度点位置的点状覆盖物的数据 更多...

#include <QAgileAnnotation.h>

类 QAgileAnnotation 继承关系图:
QShape <QAnnotation>

属性

CLLocationCoordinate2D coordinate
 经纬度
 
double altitude
 高度
 
int zIndex
 优先级,默认优先级为0
 
int minLevel
 最小显示层级
 
int maxLevel
 最大显示层级
 
NSString * templateName
 模版文件的名称.必填
 
NSString * templateUrl
 模版下载url.必填
 
NSString * style
 模版样式.必填
 
NSString * jsonData
 与模版文件相对应的json格式数据.必填 图片地址的格式 type|light_img|dark_img ,type取值:internet:网络图片;local:本地图 light_img:白天模式图片地址,type=local时填文件名称 dark_img:黑夜模式图片地址,type=local时填文件名称
 
BOOL clickable
 是否可点击
 
BOOL avoidEnabled
 是否开启避让(包括避让marker和蚯蚓线等) 默认NO
 
BOOL avoidAnnotation
 是否避让底图标注 默认YES
 
BOOL aboveLocator
 是否在自车标上方
 
BOOL avoidLocator
 是否能够被自车标避让
 
QAgileAvoidRouteRule * avoidRouteRule
 设置marker与线的避让规则
 
- 属性 继承自 QShape
id userData
 供用户储存自定义数据,SDK本身不使用
 
- 属性 继承自 <QAnnotation>
CLLocationCoordinate2D coordinate
 标注view中心坐标
 

额外继承的成员函数

- 实例方法 继承自 <QAnnotation>
(NSString *) - title
 获取annotation标题
 
(NSString *) - subtitle
 获取annotation副标题
 
(void) - setCoordinate:
 设置标注的坐标,在拖拽时会被调用
 
(QIndoorInfo *) - indoorInfo
 获取annotation室内位置
 
(CLLocationDistance) - altitude
 获取 annotation 相对地面的高度
 

详细描述

点标注数据. 代表一个经纬度点位置的点状覆盖物的数据


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