TencentMapSDK_iOS_3D_v1.3.3
QCircle类 参考

该类用于定义一个圆, 通常QCircle是QCircleView中持有的对象 更多...

#import <QCircle.h>

类 QCircle 继承关系图:
QShape

类方法

(QCircle *) + circleWithCenterCoordinate:radius:
 根据中心点和半径生成圆 更多...
 
(QCircle *) + circleWithMapRect:
 根据mapRect生成圆 更多...
 

属性

CLLocationCoordinate2D coordinate
 中心点经纬度
 
CLLocationDistance radius
 半径, 单位:米
 
QMapRect boundingMapRect
 该圆的外接mapRect
 
- 属性 继承自 QShape
NSString * title
 标题
 
NSString * subtitle
 副标题
 

额外继承的成员函数

- Protected 属性 继承自 QShape
package NSString * _title
 
NSString * _subtitle
 

详细描述

该类用于定义一个圆, 通常QCircle是QCircleView中持有的对象

函数文档

◆ circleWithCenterCoordinate:radius:()

+ (QCircle *) circleWithCenterCoordinate: (CLLocationCoordinate2D)  coord
radius: (CLLocationDistance)  radius 

根据中心点和半径生成圆

参数
coord中心点的经纬度坐标
radius半径, 单位:米
返回
新生成的圆

◆ circleWithMapRect:()

+ (QCircle *) circleWithMapRect: (QMapRect mapRect

根据mapRect生成圆

参数
mapRect生成的圆的直径为MAX(width, height)
返回
新生成的圆

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