close
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style type="text/css">
#map{
width: 500px;
height: 500px;
}
</style>
</head>
<body>
<div id="map"></div>
<script type="text/javascript">
function init(){
var ROADMAP = new google.maps.Map(document.getElementById('map'),{
center: new google.maps.LatLng(23.563397,120.472856), //double latitude, double longitude
mapTypeId:google.maps.MapTypeId.ROADMAP,
// satellite:衛星 hybrid:混合
zoom:13
})
};
</script>
<script src="http://maps.googleapis.com/maps/api/js?callback=init"></script>
</body>
</html>
全站熱搜
留言列表