           height: 100%;
                margin: 0;
                padding: 0;
                overflow: hidden;
            }
            #map {
                width: 100%;
                height: 100%;
            }
        </style>
    </head>

    <body>
        <div id="map"></div>
        <script>
            // 百度地图API功能
            var map = new BMapGL.Map('map', {
                enableIconClick: true,
                preserveDrawingBuffer: true,
                maxZoom: 20,
         