interface YMKPinAnnotationView : YMKAnnotationView
地図上に表示するピンアイコンのアニメーション、色を設定して表示するためのViewクラスです。
タスク
属性の取得・設定
pinColorプロパティーanimatesDropプロパティー
プロパティー
pinColor
ピンカラーのプロパティー。
@property(nonatomic) YMKPinAnnocationColor pinColor
animatesDrop
ピンがドロップされる際のアニメーション指定用プロパティー。
YES:アニメーションする。NO:アニメーションしない。
@property(nonatomic) BOOL animatesDrop
定数
YMKPinAnnotationColor
ピンカラー用の定数です。
enum {
YMKPinAnnotationColorRed = 0,
YMKPinAnnotationColorGreen,
YMKPinAnnotationColorPurple
};
typedef NSUInteger YMKPinAnnotationColor
YMKPinAnnotationColorRed- 赤色のピンカラー
YMKPinAnnotationColorGreen- 緑色のピンカラー
YMKPinAnnotationColorPurple- 紫色のピンカラー