質問編集履歴
1
情報修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,4 +30,16 @@
|
|
30
30
|
|
31
31
|
}
|
32
32
|
|
33
|
+
//追加項目
|
34
|
+
|
35
|
+
func updateCurrentPos(_ coordinate:CLLocationCoordinate2D) {
|
36
|
+
|
37
|
+
var region:MKCoordinateRegion = mapView.region
|
38
|
+
|
39
|
+
region.center = coordinate
|
40
|
+
|
41
|
+
mapView.setRegion(region,animated:true)
|
42
|
+
|
43
|
+
}
|
44
|
+
|
33
45
|
```
|