質問編集履歴
2
タイトル修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Collection Viewセル内のMKMapViewが複数表示されてしまう
|
1
|
+
Collection Viewセル内のMKMapViewに配置している位置情報ピンが複数表示されてしまう
|
test
CHANGED
File without changes
|
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,7 +34,7 @@
|
|
34
34
|
|
35
35
|
let region = MKCoordinateRegionMake(coordinate, span)
|
36
36
|
|
37
|
-
cell.a
|
37
|
+
cell.mapView.setRegion(region, animated:true)
|
38
38
|
|
39
39
|
|
40
40
|
|
@@ -46,7 +46,7 @@
|
|
46
46
|
|
47
47
|
annotation.coordinate = CLLocationCoordinate2D(latitude: section.sectionLat, longitude: section.sectionLon)
|
48
48
|
|
49
|
-
cell.a
|
49
|
+
cell.mapView.addAnnotation(annotation)
|
50
50
|
|
51
51
|
return cell
|
52
52
|
|