iOS高德轻量版地图SDK  1.2.0
MAMultiPoint Class Reference

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

#import <MAMultiPoint.h>

Inheritance diagram for MAMultiPoint:
MAShape <MAAnnotation> MAPolygon MAPolyline MAMultiPolyline

Instance Methods

(void) - getCoordinates:range:
 将内部的坐标点数据转化为经纬度坐标并拷贝到coords内存中 More...
 
- Instance Methods inherited from <MAAnnotation>
(void) - setCoordinate:
 设置标注的坐标,在拖拽时会被调用. More...
 

Protected Attributes

package MAMapPoint_points
 
NSUInteger _pointCount
 
MAMapRect _boundingRect
 

Properties

MAMapPointpoints
 坐标点数组 More...
 
NSUInteger pointCount
 坐标点的个数 More...
 
BOOL cross180Longitude
 是否跨越180度经度线,默认NO More...
 
- Properties inherited from MAShape
NSString * title
 标题 More...
 
NSString * subtitle
 副标题 More...
 
- Properties inherited from <MAAnnotation>
CLLocationCoordinate2D coordinate
 标注view中心坐标 More...
 
NSString * title
 annotation标题 More...
 
NSString * subtitle
 annotation副标题 More...
 

Detailed Description

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

Method Documentation

◆ getCoordinates:range:

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

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

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

Member Data Documentation

◆ _boundingRect

- (MAMapRect) _boundingRect
protected

◆ _pointCount

- (NSUInteger) _pointCount
protected

◆ _points

- (package MAMapPoint*) _points
protected

Property Documentation

◆ cross180Longitude

- (BOOL) cross180Longitude
readnonatomicassign

是否跨越180度经度线,默认NO

◆ pointCount

- (NSUInteger) pointCount
readnonatomicassign

坐标点的个数

◆ points

- (MAMapPoint*) points
readnonatomicassign

坐标点数组


The documentation for this class was generated from the following file:
© 2020 高德信息技术有限公司版权所有,保留所有权利。