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

该类是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类LMKPolyline,LMKPolygon来实例化 更多...

#import <LMKMultiPoint.h>

类 LMKMultiPoint 继承关系图:
LMKShape <LMKAnnotation> LMKArc LMKPolygon LMKPolyline LMKMultiPolyline

构造函数

(void)  - getCoordinates:range:
  将内部的坐标点数据转化为经纬度坐标并拷贝到coords内存中 更多...
 
(id)  - initWithCoordinates:count:
  初始化坐标和坐标点数 更多...
 
- 构造函数 继承自 LMKShape
(void)  - buildDataWithType:
  构建数据 更多...
 
- 构造函数 继承自 <LMKAnnotation>
(NSString *)  - title
  获取annotation标题 更多...
 
(NSString *)  - subtitle
  获取annotation副标题 更多...
 
(void)  - setCoordinate:
  设置标注的坐标,在拖拽时会被调用. 更多...
 

Protected 属性

package LMKMapPoint _points
 
CLLocationCoordinate2D *  _coords
 
NSUInteger  _pointCount
 
LMKMapRect  _boundingRect
 
- Protected 属性 继承自 LMKShape
NSString *  _title
 
NSString *  _subtitle
 

属性

LMKMapPoint points
  坐标点数组 更多...
 
CLLocationCoordinate2D *  coords
 
NSUInteger  pointCount
  坐标点的个数 更多...
 
- 属性 继承自 LMKShape
NSString *  title
  标题 更多...
 
NSString *  subtitle
  副标题 更多...
 
NSUInteger  projection_type
  投影类型 更多...
 
- 属性 继承自 <LMKAnnotation>
CLLocationCoordinate2D  coordinate
  标注view中心坐标 更多...
 

详细描述

该类是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类LMKPolyline,LMKPolygon来实例化

函数文档

- (void) getCoordinates: (CLLocationCoordinate2D *)  coords
range: (NSRange)  range 

将内部的坐标点数据转化为经纬度坐标并拷贝到coords内存中

参数
coords 调用者提供的内存空间, 该空间长度必须大于等于要拷贝的坐标点的个数(range.length)
range 要拷贝的数据范围
- (id) initWithCoordinates: (CLLocationCoordinate2D *)  coords
count: (NSUInteger)  count 

初始化坐标和坐标点数

参数
coords 调用者提供的内存空间, 该空间长度必须大于等于要拷贝的坐标点的个数(range.length)
count 坐标的点数

类成员变量说明

- (LMKMapRect) _boundingRect
protected
- (CLLocationCoordinate2D*) _coords
protected
- (NSUInteger) _pointCount
protected
- (package LMKMapPoint*) _points
protected

属性说明

- (CLLocationCoordinate2D*) coords
readnonatomicassign
- (NSUInteger) pointCount
readnonatomicassign

坐标点的个数

- (LMKMapPoint*) points
readnonatomicassign

坐标点数组


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