質問編集履歴

4

追記3

2016/09/09 05:45

投稿

Y_M
Y_M

スコア265

test CHANGED
File without changes
test CHANGED
@@ -164,4 +164,46 @@
164
164
 
165
165
 
166
166
 
167
+ ###追記3
168
+
167
- このよう修正しましたがまだ出てきてしいます。
169
+ 参考にしたサイトを元にここで絞りましたがまだ警告が出ます。
170
+
171
+
172
+
173
+ ```Swift
174
+
175
+ func dropPin() {
176
+
177
+
178
+
179
+ let myGeocoder:CLGeocoder = CLGeocoder()
180
+
181
+ let myAddress: String = (self.dataGroup[0]["address"] as? String)!
182
+
183
+
184
+
185
+ myGeocoder.geocodeAddressString(myAddress, completionHandler: {(placemarks, error) in
186
+
187
+
188
+
189
+ if(error == nil) {
190
+
191
+ for placemark in placemarks! {
192
+
193
+ let location:CLLocation = placemark.location!
194
+
195
+ let annotation = MKPointAnnotation()
196
+
197
+ annotation.coordinate = CLLocationCoordinate2DMake(location.coordinate.latitude, location.coordinate.longitude)
198
+
199
+ self.mapView.addAnnotation(annotation)
200
+
201
+ }
202
+
203
+ }
204
+
205
+ })
206
+
207
+ }
208
+
209
+ ```

3

追記

2016/09/09 05:45

投稿

Y_M
Y_M

スコア265

test CHANGED
File without changes
test CHANGED
@@ -129,3 +129,39 @@
129
129
  どうやらある一定以上ズームしたら表示されるみたいですが、
130
130
 
131
131
  なんの警告なのでしょうか。
132
+
133
+
134
+
135
+ ###追記2
136
+
137
+ ```Swift
138
+
139
+ myGeocoder.geocodeAddressString(myAddress, completionHandler: { (placemarks, error) -> Void in
140
+
141
+ for placemark in placemarks! {
142
+
143
+ let location: CLLocation = placemark.location!
144
+
145
+ let annotation = MapAnnotationSetting()
146
+
147
+
148
+
149
+ annotation.coordinate = CLLocationCoordinate2DMake(location.coordinate.latitude, location.coordinate.longitude)
150
+
151
+ annotation.title = self.dataGroup[num]["name"] as? String
152
+
153
+ annotation.subtitle = self.dataGroup[num]["address"] as? String
154
+
155
+ self.mapView.addAnnotation(annotation)
156
+
157
+ }
158
+
159
+ self.mapView.showAnnotations(self.mapView.annotations, animated: true)
160
+
161
+ })
162
+
163
+ ```
164
+
165
+
166
+
167
+ このように修正しましたがまだ出てきてしまいます。

2

記号の修正

2016/09/09 04:43

投稿

Y_M
Y_M

スコア265

test CHANGED
@@ -1 +1 @@
1
- MKMapView利用時Painter Z index: "数値" is too large (max 255))
1
+ MKMapView利用時 Painter Z index: 数値 is too large max 255
test CHANGED
File without changes

1

追記

2016/09/09 02:12

投稿

Y_M
Y_M

スコア265

test CHANGED
File without changes
test CHANGED
@@ -119,3 +119,13 @@
119
119
 
120
120
 
121
121
  どなたかご回答よろしくお願いいたします。
122
+
123
+
124
+
125
+
126
+
127
+ ###追記
128
+
129
+ どうやらある一定以上ズームしたら表示されるみたいですが、
130
+
131
+ なんの警告なのでしょうか。