/*
|
* BMKMultiPoint.h
|
* BMapKit
|
*
|
* Copyright 2011 Baidu Inc. All rights reserved.
|
*
|
*/
|
|
#import <Foundation/Foundation.h>
|
#import <BaiduMapAPI_Base/BMKTypes.h>
|
#import "BMKShape.h"
|
|
/// 该类定义多个点,是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类BMKPolyline,BMKPolygon来实例化
|
@interface BMKMultiPoint : BMKShape {
|
@package
|
BMKMapPoint *_points;
|
NSUInteger _pointCount;
|
|
BMKMapRect _boundingRect;
|
}
|
|
/// 坐标点数组
|
@property (nonatomic, readonly) BMKMapPoint *points;
|
|
/// 坐标点的个数
|
@property (nonatomic, readonly) NSUInteger pointCount;
|
|
/**
|
*将内部的直角坐标数据转换为经纬度坐标点数据,并拷贝到指定的数组中
|
*@param coords 经纬度坐标数组,转换后的坐标将存储到该数组中,该数组长度必须大于等于要拷贝的坐标点的个数(range.length)
|
*@param range 指定要拷贝的数据段
|
*/
|
- (void)getCoordinates:(CLLocationCoordinate2D *)coords range:(NSRange)range;
|
|
@end
|