質問編集履歴
2
訂正
test
CHANGED
File without changes
|
test
CHANGED
@@ -86,23 +86,23 @@
|
|
86
86
|
|
87
87
|
// アノテーションビューに色を設定する
|
88
88
|
|
89
|
-
pinView
|
89
|
+
pinView.markerTintColor = UIColor.red
|
90
90
|
|
91
91
|
// 吹き出しの表示をONにする
|
92
92
|
|
93
|
-
pinView
|
93
|
+
pinView.canShowCallout = true
|
94
94
|
|
95
95
|
// ドラッグ可能にする
|
96
96
|
|
97
|
-
pinView
|
97
|
+
pinView.isDraggable = true
|
98
98
|
|
99
99
|
// ピンのアニメーションをONにする。
|
100
100
|
|
101
|
-
//pinView
|
101
|
+
//pinView.animatesDrop = true
|
102
102
|
|
103
103
|
// markerのアニメーションをonにする
|
104
104
|
|
105
|
-
pinView
|
105
|
+
pinView.animatesWhenAdded = true
|
106
106
|
|
107
107
|
|
108
108
|
|
@@ -118,7 +118,7 @@
|
|
118
118
|
|
119
119
|
button.backgroundColor = UIColor.yellow
|
120
120
|
|
121
|
-
pinView
|
121
|
+
pinView.leftCalloutAccessoryView = button
|
122
122
|
|
123
123
|
|
124
124
|
|
@@ -134,7 +134,7 @@
|
|
134
134
|
|
135
135
|
button2.setTitleColor(UIColor.white, for:.normal)
|
136
136
|
|
137
|
-
pinView
|
137
|
+
pinView.rightCalloutAccessoryView = button2
|
138
138
|
|
139
139
|
|
140
140
|
|
1
画像ついか
test
CHANGED
File without changes
|
test
CHANGED
@@ -13,6 +13,10 @@
|
|
13
13
|
|
14
14
|
|
15
15
|
![PinAnnotationView](eb65a23295d5e897a2616227c2180544.gif)
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
![MarkerAnnotationView without Callout](ab8a2716432969a93e16241fb0774deb.gif)
|
16
20
|
|
17
21
|
|
18
22
|
|