こんにちは
現在GoogleMapAPIを勉強しているのですがなぜか地図が表示されません
エラーは出ていないのですが
なぜでしょうか?
JavaScript
1<!DOCTYPE html> 2<html> 3<head> 4 <meta charset="utf-8"> 5 <script src="http://maps.google.com/maps/api/js?language=ja"></script> 6 <style> 7 #map{ 8 width: 100%; 9 height: 100%; 10 } 11 </style> 12</head> 13<body> 14 <div id="map"></div> 15 <script> 16 var latlng = new google.maps.LatLng(35.66, 139.69); 17 var options = { 18 zoom: 15, 19 center: latlng, 20 mapTypeId: google.maps.MapTypeId.ROADMAP 21 }; 22 23 var map = new google.maps.Map(document.getElementById('map'), options); 24 </script> 25</body> 26</html> 27
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2016/02/11 11:55
退会済みユーザー
2016/02/11 14:51
退会済みユーザー
2016/02/11 23:55