質問編集履歴

3

.

2018/07/08 07:20

投稿

Koyyyyyy
Koyyyyyy

スコア55

test CHANGED
File without changes
test CHANGED
@@ -9,6 +9,10 @@
9
9
 
10
10
 
11
11
  この原因って何でしょうか。 omz
12
+
13
+
14
+
15
+ catchでエラーを捕まえようと思いましたがエラーは出ないので一応fetchに成功しているようです
12
16
 
13
17
 
14
18
 

2

fetchしようとしたコードを追加しました

2018/07/08 07:20

投稿

Koyyyyyy
Koyyyyyy

スコア55

test CHANGED
File without changes
test CHANGED
@@ -17,3 +17,35 @@
17
17
 
18
18
 
19
19
  ![イメージ説明](2b13fddbd5c0fa906fdeb57d10b98a5b.png)
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+ ```aa.js
30
+
31
+ fetch('https://maps.googleapis.com/maps/api/geocode/json?language=ja&sensor=false&latlng=35.6909389,139.6952959&key='API KEY')
32
+
33
+ .then(responce => {
34
+
35
+ console.log(responce.json())
36
+
37
+ console.log(responce)
38
+
39
+ // console.log(responce.results[0]['formatted_address'])
40
+
41
+ // console.log(responce.results[0]['formatted_address'])
42
+
43
+
44
+
45
+
46
+
47
+ })
48
+
49
+
50
+
51
+ ```

1

syosinsya

2018/07/08 06:54

投稿

Koyyyyyy
Koyyyyyy

スコア55

test CHANGED
File without changes
test CHANGED
File without changes