iOS高德地图SDK(2D)  v5.6.0
<MAOverlay > Protocol Reference

该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类 More...

#import <MAOverlay.h>

Inheritance diagram for <MAOverlay >:

Instance Methods

(BOOL) - intersectsMapRect:
 判断boundingMapRect和给定的mapRect是否相交,可以用MAMapRectIntersectsRect([overlay boundingMapRect], mapRect)替代 More...
 

Properties

CLLocationCoordinate2D coordinate
 返回区域中心坐标 More...
 
MAMapRect boundingMapRect
 区域外接矩形 More...
 

Detailed Description

该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类

Method Documentation

◆ intersectsMapRect:()

- (BOOL MAOverlay) intersectsMapRect: (MAMapRect mapRect
optional

判断boundingMapRect和给定的mapRect是否相交,可以用MAMapRectIntersectsRect([overlay boundingMapRect], mapRect)替代

Parameters
mapRect指定的map rect
Returns
两个矩形是否相交

Property Documentation

◆ boundingMapRect

- (MAMapRect MAOverlay) boundingMapRect
readnonatomicassign

区域外接矩形

◆ coordinate

- (CLLocationCoordinate2D MAOverlay) coordinate
readrequirednonatomicassign

返回区域中心坐标


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