質問編集履歴

3

詳細を追記

2019/06/20 06:25

投稿

howaco
howaco

スコア14

test CHANGED
File without changes
test CHANGED
File without changes

2

詳細のコードを追記しました

2019/06/20 06:24

投稿

howaco
howaco

スコア14

test CHANGED
File without changes
test CHANGED
@@ -46,7 +46,7 @@
46
46
 
47
47
  $googlemap = get_field('google_map'); ?>
48
48
 
49
- <script src="//maps.google.com/maps/api/js?key=AIzaSyB5zrVtXyETkHlUYSsrY7fEjYbjMb3lDFk"></script>
49
+ <script src="//maps.google.com/maps/api/js?key=●●(apiキー)"></script>
50
50
 
51
51
  <div id="googlemaps" style="width:100%; height:400px;"></div>
52
52
 

1

詳細のコードを追記しました

2019/06/20 06:21

投稿

howaco
howaco

スコア14

test CHANGED
File without changes
test CHANGED
@@ -21,6 +21,16 @@
21
21
  ```
22
22
 
23
23
  エラーメッセージ最初の「マップで」のすぐ後ろにある「, 」を削除すると正常に地図が表示されますが、該当コードのどこを修正すればこの「, 」が消えてくれるのかが分かりません…。
24
+
25
+
26
+
27
+ Chromeのデベロッパーツールを確認しても下記のようになっていました。
28
+
29
+ ```
30
+
31
+ <a href="http://maps.google.com/maps?q=+, 35.681394499556525, 139.76714645767208" target="_blank">Googleマップで開く</a>
32
+
33
+ ```
24
34
 
25
35
 
26
36