MBMapkit
|
00001 // 00002 // MBCircle.h 00003 // MBMapKit 00004 // 00005 // Copyright 2011 Mapbar Inc. All rights reserved. 00006 // 00007 00008 #import "MBShape.h" 00009 #import "MBGeometry.h" 00010 #import "MBOverlay.h" 00011 00018 @interface MBCircle : MBShape <MBOverlay> 00019 { 00020 @package 00021 CLLocationCoordinate2D _coordinate; 00022 CLLocationDistance _radius; 00023 00024 MBMapRect _boundingMapRect; 00025 } 00026 00034 + (MBCircle *)circleWithCenterCoordinate:(CLLocationCoordinate2D)coord 00035 radius:(CLLocationDistance)radius; 00036 00043 + (MBCircle *)circleWithMapRect:(MBMapRect)mapRect; 00044 00049 @property (nonatomic, readonly) CLLocationCoordinate2D coordinate; 00050 00055 @property (nonatomic, readonly) CLLocationDistance radius; 00056 00064 @property (nonatomic, readonly) MBMapRect boundingMapRect; 00065 00066 @end 00067