iv>
    <div class="switch">
        <span class="item" onclick="changeMode('heater')">热力展示</span>
        <span class="item" onclick="changeMode('grid')">网格展示</span>
        <div>
            <script>
                var mode = 'heater';
                mapboxgl.accessToken = 'pk.eyJ1IjoicGFybmRlZWRsaXQiLCJhIjoiY2o1MjBtYTRuMDhpaTMzbXhpdjd3YzhjdCJ9.sCoubaHF9-nhGTA-sgz0sA';
                var map = new mapboxgl.Map({
                    container: 'map_grid',
                    style: 'mapb