ZMSPath
Objective-C
@interface ZMSPath : NSObject <NSCopying, NSMutableCopying>
                Swift
class ZMSPath : NSObject, NSCopying, NSMutableCopying
                パスクラス
座標の配列を保持するクラス。ZMSPolygon や ZMSPolyline で使用する。
生成後の点列の変更は不可。
Note
不正な値を含む点列でポリゴンを生成した場合は動作を保証しない。- 
                  
                  
座標が空のZMSPathを生成する
Declaration
Objective-C
+ (nonnull instancetype)path;Return Value
パス
 - 
                  
                  
別のパスを指定するZMSPathのイニシャライザー
Declaration
Objective-C
- (nonnull instancetype)initWithPath:(nonnull ZMSPath *)path;Swift
init(path: ZMSPath)Parameters
path:パス
 - 
                  
                  
含まれる座標の数を取得する
Declaration
Objective-C
- (NSInteger)count;Swift
func count() -> IntReturn Value
含まれる座標の数
 - 
                  
                  
任意のインデックスの座標を取得する
Declaration
Objective-C
- (CLLocationCoordinate2D)coordinateAtIndex:(NSInteger)index;Swift
func coordinate(at index: Int) -> CLLocationCoordinate2DParameters
index:インデックス
Return Value
座標(緯度/経度)
 
        ZMSPath Class Reference