<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Documet</title>
<script type="text/javascript" src="https://api.map.baidu.com/api?v=1.0&type=webgl&ak=tA0yNr7DTzuVCQFcIZGGxKrbeofffeBs"></script>
</head>
<style>
html,body, #map {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
}
</style>
<body>
<div id="map"></div>
</body>
</html>
<script>
// console.log(window)
var map = new BMapGL.Map("map");
var point = new BMapGL.Point(116.404, 39.915);
map.centerAndZoom(point, 15);
</script>