回答編集履歴
1
微修正
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
おそらくですが、表示のマップの
|
1
|
+
おそらくですが、表示のマップの縮尺を設定していないからではないでしょうか?
|
2
2
|
|
3
3
|
|
4
4
|
|
@@ -8,14 +8,14 @@
|
|
8
8
|
|
9
9
|
let center = CLLocationCoordinate2DMake(location.coordinate.latitude, location.coordinate.longitude)
|
10
10
|
|
11
|
-
let span = MKCoordinateSpanMake(0.05, 0.05)
|
11
|
+
let span = MKCoordinateSpanMake(0.05, 0.05) // <-ここの行
|
12
12
|
|
13
|
-
let region = MKCoordinateRegionMake(center, span)
|
13
|
+
let region = MKCoordinateRegionMake(center, span) // <-ここの行
|
14
14
|
|
15
|
-
testMapView.setRegion(region, animated:true)
|
15
|
+
testMapView.setRegion(region, animated:true) // <-ここの行
|
16
16
|
|
17
17
|
```
|
18
18
|
|
19
19
|
|
20
20
|
|
21
|
-
の
|
21
|
+
の3行を追加してみて、試してみてはどうでしょうか?
|