MBMapkit
|
MBCircle 类是一个具体的覆盖层对象,它用于在地图中展示一个圆形区域。本类管理定义这个区域的数据,同时在处理地图中的圆形 绘制时它一般配合 MBCircleView 对象使用。 更多...
#import <MBCircle.h>
静态公有成员 | |
(MBCircle *) | + circleWithCenterCoordinate:radius: |
使用指定的坐标和半径创建并返回 MBCircle 对象。 | |
(MBCircle *) | + circleWithMapRect: |
使用指定的矩形创建并返回 MBCircle 对象。 | |
保护属性 | |
package CLLocationCoordinate2D | _coordinate |
CLLocationDistance | _radius |
MBMapRect | _boundingMapRect |
属性 | |
CLLocationCoordinate2D | coordinate |
圆形区域的中心点,定义为经度和维度。 | |
CLLocationDistance | radius |
圆形区域的半径,以米为单位计算。 | |
MBMapRect | boundingMapRect |
圆形区域的边界矩形。 |
MBCircle 类是一个具体的覆盖层对象,它用于在地图中展示一个圆形区域。本类管理定义这个区域的数据,同时在处理地图中的圆形 绘制时它一般配合 MBCircleView 对象使用。
+ (MBCircle *) circleWithCenterCoordinate: | (CLLocationCoordinate2D) | coord | |
radius: | (CLLocationDistance) | radius | |
使用指定的矩形创建并返回 MBCircle 对象。
mapRect | 决定圆形区域的地图矩形。矩形的中心点用作圆形的中心点。如果矩形不是正方形,矩形的长边用来决定圆形的半径。 |
- (MBMapRect) boundingMapRect [read, assign] |
圆形区域的边界矩形。
重载<MBOverlay>。