DMKMultiPoint Class Reference

Inherits from DMKShape : NSObject
Declared in DMKMultiPoint.h

Overview

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

  points

坐标点数组

@property (nonatomic, readonly) DMKMapPoint *points

Discussion

坐标点数组

Declared In

DMKMultiPoint.h

  pointCount

坐标点的个数

@property (nonatomic, readonly) NSUInteger pointCount

Discussion

坐标点的个数

Declared In

DMKMultiPoint.h

– getCoordinates:range:

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

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

Parameters

coords

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

range

要拷贝的数据范围

Declared In

DMKMultiPoint.h