高德地图SDK(导航) V10.0.900
Loading...
Searching...
No Matches
MAMultiPoint Class Reference

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

#import <MAMultiPoint.h>

Inheritance diagram for MAMultiPoint:
MAShape MABaseOverlay <MAOverlay> <MAAnnotation> MAPolygon MAPolyline

Instance Methods

(void) - getCoordinates:range:
 将内部的坐标点数据转化为经纬度坐标并拷贝到coords内存中
 
- Instance Methods inherited from <MAOverlay>
(CLLocationCoordinate2D) - coordinate
 返回区域中心坐标
 
(MAMapRect- boundingMapRect
 区域外接矩形
 
- Instance Methods inherited from <MAAnnotation>
(void) - setCoordinate:
 设置标注的坐标,在拖拽时会被调用.
 

Properties

MAMapPointpoints
 坐标点数组
 
NSUInteger pointCount
 坐标点的个数
 
BOOL cross180Longitude
 是否跨越180度经度线,默认NO since 6.4.0
 
- Properties inherited from MAShape
NSString * title
 标题
 
NSString * subtitle
 副标题
 
- Properties inherited from MABaseOverlay
CLLocationCoordinate2D coordinate
 返回区域中心坐标
 
MAMapRect boundingMapRect
 区域外接矩形
 
double altitude
 海拔,单位米,默认0
 
- Properties inherited from <MAAnnotation>
CLLocationCoordinate2D coordinate
 标注view中心坐标
 
NSString * title
 annotation标题
 
NSString * subtitle
 annotation副标题
 
double altitude
 annotation海拔高度,单位米,默认0
 

Additional Inherited Members

- Protected Attributes inherited from MAShape
NSString * _title
 标题
 
NSString * _subtitle
 副标题
 
- Protected Attributes inherited from MABaseOverlay
double _altitude
 海拔
 

Detailed Description

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

Method Documentation

◆ getCoordinates:range:

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

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

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

Property Documentation

◆ cross180Longitude

- (BOOL) cross180Longitude
readnonatomicassign

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

◆ pointCount

- (NSUInteger) pointCount
readnonatomicassign

坐标点的个数

◆ points

- (MAMapPoint*) points
readnonatomicassign

坐标点数组


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