回答編集履歴
2
修正 ちょい修正
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
|
20
20
|
|
21
|
-
もし、質問に追記されたコード
|
21
|
+
もし、質問に追記されたコードの`<script src="https://maps.googleapis.com/maps/api/js?key=xxxxxxxxxxxx"></script>`の部分で`&callback=initMap`を指定しているならば、
|
22
22
|
|
23
23
|
|
24
24
|
|
1
追記
test
CHANGED
@@ -9,3 +9,23 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
```
|
12
|
+
|
13
|
+
---
|
14
|
+
|
15
|
+
--追記--
|
16
|
+
|
17
|
+
initMap()を呼び出している箇所が見当たらないのですが、
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
もし、質問に追記されたコードで`<script src="https://maps.googleapis.com/maps/api/js?key=xxxxxxxxxxxx"></script>`の部分で`&callback=initMap`を指定しているならば、
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
`<script src="https://maps.googleapis.com/maps/api/js?key=xxxxxxxxxxxx"></script>`
|
26
|
+
|
27
|
+
は、
|
28
|
+
|
29
|
+
`<div id="map" style="width:400px; height:300px"></div>`
|
30
|
+
|
31
|
+
よりも後ろに持って行ってください。
|