ZMSMutablePath Class Reference
Inherits from | ZMSPath : NSObject |
---|---|
Declared in | ZMSMutablePath.h |
Overview
ZMSMutablePathは動的にCLLocationCoordinate2Dの点列を変更可能なオブジェクト 全座標は有効でなければいけない ZMSMutablePathはZMSPathの座標変更可能バージョン
– addCoordinate:
点列に頂点座標を追加する
- (void)addCoordinate:(CLLocationCoordinate2D)coord
Parameters
coord |
ポリラインの座標(緯度経度) |
---|
Discussion
点列に頂点座標を追加する
Declared In
ZMSMutablePath.h
– addLatitude:longitude:
座標点列に入力された緯度経度(度)によってCLLocationCoordinate2Dを追加する
- (void)addLatitude:(CLLocationDegrees)latitude longitude:(CLLocationDegrees)longitude
Parameters
latitude |
ポリラインに追加する座標の緯度 |
---|---|
longitude |
ポリラインに追加する座標の経度 |
Discussion
座標点列に入力された緯度経度(度)によってCLLocationCoordinate2Dを追加する
Declared In
ZMSMutablePath.h
– insertCoordinate:atIndex:
指定した位置(index)に頂点座標を新規に挿入する
- (void)insertCoordinate:(CLLocationCoordinate2D)coord atIndex:(NSUInteger)index
Parameters
coord |
挿入する座標の緯度経度 |
---|---|
index |
挿入するラインのインデックス |
Discussion
指定した位置(index)に頂点座標を新規に挿入する
Declared In
ZMSMutablePath.h
– replaceCoordinateAtIndex:withCoordinate:
指定した位置(index)の頂点座標を置き換える
- (void)replaceCoordinateAtIndex:(NSUInteger)index withCoordinate:(CLLocationCoordinate2D)coord
Parameters
index |
置き換え対象のライン座標のインデックス |
---|---|
coord |
置き換える座標の緯度経度 |
Discussion
指定した位置(index)の頂点座標を置き換える
Declared In
ZMSMutablePath.h
– removeCoordinateAtIndex:
指定した位置の頂点座標を削除する
- (void)removeCoordinateAtIndex:(NSUInteger)index
Parameters
index |
削除する座標のインデックス |
---|
Discussion
指定した位置の頂点座標を削除する
Declared In
ZMSMutablePath.h
– removeLastCoordinate
リストの末尾の座標を削除する
- (void)removeLastCoordinate
Discussion
リストの末尾の座標を削除する
Declared In
ZMSMutablePath.h
– removeAllCoordinates
リストの全ての座標を削除する
- (void)removeAllCoordinates
Discussion
リストの全ての座標を削除する
Declared In
ZMSMutablePath.h