ZMSCoordinateBounds
Objective-C
@interface ZMSCoordinateBounds : NSObject
Swift
class ZMSCoordinateBounds : NSObject
領域クラス
北東と南西の座標を指定して、地図上の領域を表現する。
-
北東の座標 (読み取り専用)
Declaration
Objective-C
@property (nonatomic, readonly) CLLocationCoordinate2D northEast;
Swift
var northEast: CLLocationCoordinate2D { get }
-
南西の座標 (読み取り専用)
Declaration
Objective-C
@property (nonatomic, readonly) CLLocationCoordinate2D southWest;
Swift
var southWest: CLLocationCoordinate2D { get }
-
座標2点からZMSCoordinateBoundsを作成する
Declaration
Objective-C
- (nonnull instancetype)initWithCoordinate:(CLLocationCoordinate2D)coord1 coordinate:(CLLocationCoordinate2D)coord2;
Swift
init(coordinate coord1: CLLocationCoordinate2D, coordinate coord2: CLLocationCoordinate2D)
Parameters
coord1:
座標1(緯度/経度)
coord2:
座標2(緯度/経度)
Return Value
領域