- 引入百度地图api的js
<script src="https://api.map.baidu.com/api?v=1.0&&type=webgl&ak=您的AK"></script>
- 编写样式
<style type="text/css">
html {
height: 100%
}
body {<
<script src="https://api.map.baidu.com/api?v=1.0&&type=webgl&ak=您的AK"></script>
<style type="text/css">
html {
height: 100%
}
body {<