apiの流れがいまいち分かりません。
apiを使うとxmlやjson形式でレスポンスが返ってきてそれをスクリプトコードで解読すると聞いたのですが、
下記のapiコードはどこにjson形式など使われているのでしょうか?
###map6_1.html
<!DOCTYPE html> <html lang="ja"> <head> <meta charset="utf-8"> <title>Google Maps API サンプル</title> </head> <body> <p>瑞穂運動場です。</p> <div id="map" style="width:620px; height:400px"></div> <script type="text/javascript"> function initMap() { var opts = { zoom: 15, center: new google.maps.LatLng(35.1239654, 136.9417741) }; var map = new google.maps.Map(document.getElementById("map"), opts); } </script> <script async defer src="https://maps.googleapis.com/maps/api/js?key=APIKey&callback=initMap"> </script> </body> </html>

回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/08/31 06:46
2019/08/31 15:59
2019/09/01 08:38