立得地图iOS SDK 地图&搜索服务参考手册 V1.7.0
构造函数 | Protected 属性 | 属性 | 所有成员列表
LMKCircle类 参考

该类用于定义一个圆, 通常LMKCircle是LMKCircleView的model 更多...

#import <LMKCircle.h>

类 LMKCircle 继承关系图:
LMKShape <LMKOverlay> <LMKAnnotation> <LMKAnnotation>

构造函数

(instancetype)  - initWithCenterCoordinate:radius:
  根据中心点和半径生成圆 更多...
 
- 构造函数 继承自 LMKShape
(void)  - buildDataWithType:
  构建数据 更多...
 
- 构造函数 继承自 <LMKAnnotation>
(NSString *)  - title
  获取annotation标题 更多...
 
(NSString *)  - subtitle
  获取annotation副标题 更多...
 
(void)  - setCoordinate:
  设置标注的坐标,在拖拽时会被调用. 更多...
 

Protected 属性

package CLLocationCoordinate2D  _coordinate
 
CLLocationDistance  _radius
 
- Protected 属性 继承自 LMKShape
NSString *  _title
 
NSString *  _subtitle
 

属性

CLLocationCoordinate2D  coordinate
  中心点经纬度坐标 更多...
 
CLLocationDistance  radius
  半径,单位:米 更多...
 
- 属性 继承自 LMKShape
NSString *  title
  标题 更多...
 
NSString *  subtitle
  副标题 更多...
 
NSUInteger  projection_type
  投影类型 更多...
 
- 属性 继承自 <LMKAnnotation>
CLLocationCoordinate2D  coordinate
  标注view中心坐标 更多...
 
- 属性 继承自 <LMKOverlay>
CLLocationCoordinate2D  coordinate
  返回区域中心坐标. 更多...
 
LMKMapRect  boundingMapRect
  区域外接矩形 更多...
 

详细描述

该类用于定义一个圆, 通常LMKCircle是LMKCircleView的model

函数文档

- (instancetype) initWithCenterCoordinate: (CLLocationCoordinate2D)  coord
radius: (CLLocationDistance)  radius 

根据中心点和半径生成圆

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

类成员变量说明

- (package CLLocationCoordinate2D) _coordinate
protected
- (CLLocationDistance) _radius
protected

属性说明

- (CLLocationCoordinate2D) coordinate
readnonatomicassign

中心点经纬度坐标

- (CLLocationDistance) radius
readnonatomicassign

半径,单位:米


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