不同API加载geojson

1.mapboxgl:在底图上叠加geojson格式的矢量数据切片
<!DOCTYPE html>
<html>
<head>
    <meta charset='utf-8' />
    <title>add vector tile geojson</title>
    <meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
    <script src="../js/mapbox-gl.js"></script>
    <link href="../css/mapbox-gl.css" rel="stylesheet" />
    <style>
        body { margin:0; padding:0; }
        #map { position:absolute; top:0; bottom:0; width:100%; }
    </style>
    </head>
<body>

<div id='map'></div>
<script>
    mapboxgl.accessToken = 'pk.eyJ1Ijoid3BwMTMwMTA1MDEzMCIsImEiOiJjamttZjBzYTMwODA2M3dtaGVqcmdhb3poIn0.GB_3itwimegcGfY7UqfJ3g';
    var map = new mapboxgl.Map({
        container: 'map',
        style: 'mapbox://styles/mapbox/streets-v9',
       // center: [-68.13734351262877, 45.137451890638886],
        center: [105.7350860781, 34.3459367715],
        zoom: 5
    });

    map.on('load', function () {

        map.addLayer({
            'id': 'fill',
            'type': 'fill',
            'source': {
                'type': 'geojson',
                'data': {"type":"FeatureCollection","totalFeatures":"unknown","features":[{"type":"Feature",
                        "id":"counties_china.2017","geometry":{"type":"Polygon","coordinates":[[[112.453445,21.919145],[112.453445,21.954301],[112.488602,21.954301],[112.488602,21.919145],[112.453445,21.919145]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440781,"AVE_PROVIN":44,"FIRST_NAME":"Taishan","LAST_NAME9":"̨ɽÊÐ"}},{"type":"Feature","id":"counties_china.2018","geometry":{"type":"Polygon","coordinates":[[[112.569694,21.580252],[112.569694,21.615409],[112.604851,21.615409],[112.604851,21.580252],[112.569694,21.580252]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440781,"AVE_PROVIN":44,"FIRST_NAME":"Taishan","LAST_NAME9":"̨ɽÊÐ"}},{"type":"Feature","id":"counties_china.2021","geometry":{"type":"Polygon","coordinates":[[[112.394008,21.886814],[112.394008,21.921971],[112.429165,21.921971],[112.429165,21.886814],[112.394008,21.886814]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440781,"AVE_PROVIN":44,"FIRST_NAME":"Taishan","LAST_NAME9":"̨ɽÊÐ"}},{"type":"Feature","id":"counties_china.2022","geometry":{"type":"Polygon","coordinates":[[[112.579536,21.654652],[112.588058,21.694269],[112.663239,21.70849],[112.653267,21.631269],[112.526527,21.588707],[112.579536,21.654652]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440781,"AVE_PROVIN":44,"FIRST_NAME":"Taishan","LAST_NAME9":"̨ɽÊÐ"}},{"type":"Feature","id":"counties_china.2023","geometry":{"type":"Polygon","coordinates":[[[112.335422,21.45539],[112.335422,21.490547],[112.370579,21.490547],[112.370579,21.45539],[112.335422,21.45539]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440781,"AVE_PROVIN":44,"FIRST_NAME":"Taishan","LAST_NAME9":"̨ɽÊÐ"}},{"type":"Feature","id":"counties_china.2034","geometry":{"type":"Polygon","coordinates":[[[112.452751,21.653404],[112.434517,21.667957],[112.460518,21.690228],[112.4636,21.668301],[112.452751,21.653404]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440781,"AVE_PROVIN":44,"FIRST_NAME":"Taishan","LAST_NAME9":"̨ɽÊÐ"}},{"type":"Feature","id":"counties_china.2035","geometry":{"type":"Polygon","coordinates":[[[112.34433,21.909946],[112.392708,21.915413],[112.417061,21.771303],[112.302963,21.698227],[112.34433,21.909946]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440781,"AVE_PROVIN":44,"FIRST_NAME":"Taishan","LAST_NAME9":"̨ɽÊÐ"}},{"type":"Feature","id":"counties_china.2036","geometry":{"type":"Polygon","coordinates":[[[112.765221,22.402166],[112.8134,22.456587],[112.960381,22.274374],[113.034576,21.950853],[112.905563,21.84507],[112.83371,21.971813],[112.767632,21.944309],[112.556137,21.751419],[112.423622,21.831362],[112.421913,21.910725],[112.497437,21.927763],[112.514793,21.953268],[112.395752,21.941772],[112.364151,22.127169],[112.472107,22.10708],[112.479553,22.020451],[112.600792,21.966553],[112.568314,22.26404],[112.765221,22.402166]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440781,"AVE_PROVIN":44,"FIRST_NAME":"Taishan","LAST_NAME9":"̨ɽÊÐ"}},{"type":"Feature","id":"counties_china.2038","geometry":{"type":"Polygon","coordinates":[[[112.509087,22.603809],[112.712883,22.593325],[112.8134,22.456587],[112.574013,22.277252],[112.590652,21.964891],[112.394913,22.135174],[112.519073,22.410343],[112.385437,22.497633],[112.300911,22.395008],[112.234283,22.429432],[112.419418,22.655542],[112.509087,22.603809]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440783,"AVE_PROVIN":44,"FIRST_NAME":"Kaiping","LAST_NAME9":"¿ªÆ½ÊÐ"}},{"type":"Feature","id":"counties_china.2039","geometry":{"type":"Polygon","coordinates":[[[112.855377,22.838583],[113.03138,22.809929],[112.921013,22.630796],[112.955482,22.567955],[112.797493,22.555546],[112.79039,22.479267],[112.712883,22.593325],[112.509087,22.603809],[112.495087,22.736446],[112.552612,22.649426],[112.678131,22.763123],[112.737396,22.681513],[112.855377,22.838583]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440784,"AVE_PROVIN":44,"FIRST_NAME":"Heshan","LAST_NAME9":"º×ɽÊÐ"}},{"type":"Feature","id":"counties_china.2040","geometry":{"type":"Polygon","coordinates":[[[112.15802,22.397064],[112.300911,22.395008],[112.385437,22.497633],[112.522682,22.405233],[112.364151,22.127169],[112.364822,21.911919],[112.223244,22.072414],[112.016487,22.117804],[112.002029,22.261408],[112.15802,22.397064]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440785,"AVE_PROVIN":44,"FIRST_NAME":"Enping","LAST_NAME9":"¶÷ƽÊÐ"}},{"type":"Feature","id":"counties_china.2041","geometry":{"type":"Polygon","coordinates":[[[110.590012,20.933544],[110.632057,20.917997],[110.568672,20.865479],[110.550308,20.905268],[110.590012,20.933544]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440801,"AVE_PROVIN":44,"FIRST_NAME":"Zhanjiang_Core","LAST_NAME9":"Õ¿½­ÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2042","geometry":{"type":"Polygon","coordinates":[[[110.383682,21.402023],[110.499496,21.441936],[110.565361,21.36661],[110.524223,21.298199],[110.62722,21.291275],[110.628754,21.218924],[110.427917,21.190264],[110.433357,21.280884],[110.489578,21.257122],[110.509888,21.294958],[110.427849,21.301706],[110.457619,21.416737],[110.383682,21.402023]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440801,"AVE_PROVIN":44,"FIRST_NAME":"Zhanjiang_Core","LAST_NAME9":"Õ¿½­ÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2043","geometry":{"type":"Polygon","coordinates":[[[110.389877,21.083217],[110.389877,21.118374],[110.425034,21.118374],[110.425034,21.083217],[110.389877,21.083217]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440801,"AVE_PROVIN":44,"FIRST_NAME":"Zhanjiang_Core","LAST_NAME9":"Õ¿½­ÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2044","geometry":{"type":"Polygon","coordinates":[[[110.555843,21.182353],[110.555843,21.217509],[110.591,21.217509],[110.591,21.182353],[110.555843,21.182353]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440801,"AVE_PROVIN":44,"FIRST_NAME":"Zhanjiang_Core","LAST_NAME9":"Õ¿½­ÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2045","geometry":{"type":"Polygon","coordinates":[[[110.242661,20.963858],[110.201073,20.943781],[110.192558,20.952517],[110.194,20.958893],[110.242661,20.963858]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440801,"AVE_PROVIN":44,"FIRST_NAME":"Zhanjiang_Core","LAST_NAME9":"Õ¿½­ÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2047","geometry":{"type":"Polygon","coordinates":[[[110.143784,21.121517],[110.205742,21.089743],[110.157097,20.981802],[110.118332,21.017553],[110.143784,21.121517]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440801,"AVE_PROVIN":44,"FIRST_NAME":"Zhanjiang_Core","LAST_NAME9":"Õ¿½­ÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2048","geometry":{"type":"Polygon","coordinates":[[[110.265182,21.073718],[110.265182,21.108874],[110.300339,21.108874],[110.300339,21.073718],[110.265182,21.073718]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440801,"AVE_PROVIN":44,"FIRST_NAME":"Zhanjiang_Core","LAST_NAME9":"Õ¿½­ÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2049","geometry":{"type":"Polygon","coordinates":[[[110.50568,20.88396],[110.50568,20.919116],[110.540836,20.919116],[110.540836,20.88396],[110.50568,20.88396]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440801,"AVE_PROVIN":44,"FIRST_NAME":"Zhanjiang_Core","LAST_NAME9":"Õ¿½­ÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2050","geometry":{"type":"Polygon","coordinates":[[[110.525284,21.15881],[110.42778,21.177065],[110.633789,21.20904],[110.556976,21.08931],[110.525284,21.15881]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440801,"AVE_PROVIN":44,"FIRST_NAME":"Zhanjiang_Core","LAST_NAME9":"Õ¿½­ÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2051","geometry":{"type":"Polygon","coordinates":[[[110.396667,21.306288],[110.40107,21.153738],[110.31942,21.087589],[110.551819,21.056711],[110.52034,20.917854],[110.459641,20.991144],[110.248596,20.952663],[110.349197,21.058569],[110.238121,21.107107],[110.223427,21.031635],[110.177299,21.115255],[110.231277,21.300634],[110.396667,21.306288]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440801,"AVE_PROVIN":44,"FIRST_NAME":"Zhanjiang_Core","LAST_NAME9":"Õ¿½­ÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2052","geometry":{"type":"Polygon","coordinates":[[[109.937401,21.42835],[110.139633,21.419708],[110.243362,21.512604],[110.409264,21.328152],[110.231277,21.300634],[110.176407,21.178257],[110.221336,21.131109],[110.117188,21.148653],[110.09742,21.071281],[110.045219,21.162685],[109.931511,21.178888],[109.870781,21.023605],[109.702057,20.999056],[109.674927,21.123335],[109.731743,21.188736],[109.73465,21.148697],[109.759712,21.150677],[109.763397,21.342896],[109.965027,21.335365],[109.904381,21.372139],[109.937401,21.42835]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440823,"AVE_PROVIN":44,"FIRST_NAME":"Suixi","LAST_NAME9":"ËìϪÏØ"}},{"type":"Feature","id":"counties_china.2053","geometry":{"type":"Polygon","coordinates":[[[110.468227,20.579886],[110.468227,20.615043],[110.503384,20.615043],[110.503384,20.579886],[110.468227,20.579886]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440825,"AVE_PROVIN":44,"FIRST_NAME":"Xuwen","LAST_NAME9":"ÐìÎÅÏØ"}},{"type":"Feature","id":"counties_china.2054","geometry":{"type":"Polygon","coordinates":[[[109.907543,20.205563],[109.907543,20.24072],[109.9427,20.24072],[109.9427,20.205563],[109.907543,20.205563]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440825,"AVE_PROVIN":44,"FIRST_NAME":"Xuwen","LAST_NAME9":"ÐìÎÅÏØ"}},{"type":"Feature","id":"counties_china.2055","geometry":{"type":"Polygon","coordinates":[[[110.401016,20.677401],[110.401016,20.712558],[110.436172,20.712558],[110.436172,20.677401],[110.401016,20.677401]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440825,"AVE_PROVIN":44,"FIRST_NAME":"Xuwen","LAST_NAME9":"ÐìÎÅÏØ"}},{"type":"Feature","id":"counties_china.2056","geometry":{"type":"Polygon","coordinates":[[[110.551949,20.325247],[110.576973,20.388624],[110.585182,20.386526],[110.587959,20.362825],[110.551949,20.325247]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440825,"AVE_PROVIN":44,"FIRST_NAME":"Xuwen","LAST_NAME9":"ÐìÎÅÏØ"}},{"type":"Feature","id":"counties_china.2057","geometry":{"type":"Polygon","coordinates":[[[110.396377,20.580568],[110.396377,20.615725],[110.431534,20.615725],[110.431534,20.580568],[110.396377,20.580568]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440825,"AVE_PROVIN":44,"FIRST_NAME":"Xuwen","LAST_NAME9":"ÐìÎÅÏØ"}},{"type":"Feature","id":"counties_china.2059","geometry":{"type":"Polygon","coordinates":[[[110.326492,20.640671],[110.326492,20.675827],[110.361648,20.675827],[110.361648,20.640671],[110.326492,20.640671]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440825,"AVE_PROVIN":44,"FIRST_NAME":"Xuwen","LAST_NAME9":"ÐìÎÅÏØ"}},{"type":"Feature","id":"counties_china.2062","geometry":{"type":"Polygon","coordinates":[[[110.451149,20.648792],[110.478149,20.631895],[110.474274,20.578836],[110.405128,20.646791],[110.451149,20.648792]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440825,"AVE_PROVIN":44,"FIRST_NAME":"Xuwen","LAST_NAME9":"ÐìÎÅÏØ"}},{"type":"Feature","id":"counties_china.2063","geometry":{"type":"Polygon","coordinates":[[[110.015099,20.438852],[110.387421,20.656435],[110.530884,20.46611],[110.282623,20.237797],[110.046173,20.287933],[109.920532,20.22909],[109.862793,20.397169],[109.904404,20.430449],[109.983513,20.332829],[110.044533,20.361708],[109.981468,20.356764],[110.015099,20.438852]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440825,"AVE_PROVIN":44,"FIRST_NAME":"Xuwen","LAST_NAME9":"ÐìÎÅÏØ"}},{"type":"Feature","id":"counties_china.2064","geometry":{"type":"Polygon","coordinates":[[[110.295937,21.914255],[110.394623,21.871717],[110.342247,21.844151],[110.354973,21.712156],[110.512306,21.502903],[110.47718,21.446392],[110.383682,21.402023],[110.384277,21.470695],[110.325333,21.431591],[110.233788,21.513779],[110.139633,21.419708],[109.942467,21.426439],[109.850578,21.511898],[109.796692,21.462551],[109.749893,21.646204],[109.899002,21.6576],[109.975418,21.877396],[110.295937,21.914255]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440881,"AVE_PROVIN":44,"FIRST_NAME":"Lianjiang","LAST_NAME9":"Á®½­ÊÐ"}},{"type":"Feature","id":"counties_china.2065","geometry":{"type":"Polygon","coordinates":[[[110.126869,21.087742],[110.187119,20.84919],[110.168457,20.864351],[110.124786,20.851858],[110.17141,20.847507],[110.13192,20.809412],[110.128487,20.774345],[110.316116,20.84206],[110.387039,20.725828],[110.324081,20.771555],[110.276543,20.650534],[110.322472,20.675102],[110.320351,20.617369],[110.122101,20.544491],[110.079117,20.44364],[109.945938,20.432476],[109.934471,20.513937],[109.918137,20.433348],[109.826622,20.489178],[109.847473,20.586569],[109.742691,20.62565],[109.85984,20.714245],[109.764587,20.698681],[109.760406,20.861191],[109.71003,20.803938],[109.674583,20.981594],[109.870781,21.023605],[109.88958,21.169512],[109.990601,21.183184],[110.126869,21.087742]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440882,"AVE_PROVIN":44,"FIRST_NAME":"Leizhou","LAST_NAME9":"À×ÖÝÊÐ"}},{"type":"Feature","id":"counties_china.2066","geometry":{"type":"Polygon","coordinates":[[[110.743332,21.639801],[110.969208,21.418926],[110.796822,21.400723],[110.65609,21.252874],[110.581421,21.263285],[110.482964,21.469999],[110.68306,21.493292],[110.743332,21.639801]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440883,"AVE_PROVIN":44,"FIRST_NAME":"Wuchuan","LAST_NAME9":"Îâ´¨ÊÐ"}},{"type":"Feature","id":"counties_china.2067","geometry":{"type":"Polygon","coordinates":[[[110.740547,21.710348],[110.828133,21.825211],[110.965279,21.764345],[110.905357,21.528889],[110.822006,21.539707],[110.740547,21.710348]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440901,"AVE_PROVIN":44,"FIRST_NAME":"Maoming","LAST_NAME9":"ïÃûÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2068","geometry":{"type":"Polygon","coordinates":[[[111.022602,21.4767],[111.022602,21.511856],[111.057758,21.511856],[111.057758,21.4767],[111.022602,21.4767]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440923,"AVE_PROVIN":44,"FIRST_NAME":"Dianbai","LAST_NAME9":"µç°×ÏØ"}},{"type":"Feature","id":"counties_china.2069","geometry":{"type":"Polygon","coordinates":[[[111.354759,21.428888],[111.354759,21.464045],[111.389916,21.464045],[111.389916,21.428888],[111.354759,21.428888]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440923,"AVE_PROVIN":44,"FIRST_NAME":"Dianbai","LAST_NAME9":"µç°×ÏØ"}},{"type":"Feature","id":"counties_china.2070","geometry":{"type":"Polygon","coordinates":[[[111.161961,21.364798],[111.161961,21.399954],[111.197117,21.399954],[111.197117,21.364798],[111.161961,21.364798]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440923,"AVE_PROVIN":44,"FIRST_NAME":"Dianbai","LAST_NAME9":"µç°×ÏØ"}},{"type":"Feature","id":"counties_china.2071","geometry":{"type":"Polygon","coordinates":[[[111.422768,21.843992],[111.384941,21.747763],[111.447006,21.528719],[111.2771,21.414267],[111.250954,21.409498],[111.246979,21.450724],[111.310204,21.473598],[111.233139,21.522713],[111.099861,21.456316],[111.140694,21.490711],[111.02993,21.530712],[111.005898,21.453461],[111.076607,21.461119],[110.98748,21.419317],[110.846283,21.499388],[110.939713,21.576139],[110.965279,21.764345],[111.100922,21.785301],[111.094887,21.87232],[111.185387,21.831846],[111.224571,21.967573],[111.283241,21.993835],[111.29245,21.911596],[111.422768,21.843992]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440923,"AVE_PROVIN":44,"FIRST_NAME":"Dianbai","LAST_NAME9":"µç°×ÏØ"}},{"type":"Feature","id":"counties_china.2072","geometry":{"type":"Polygon","coordinates":[[[110.782593,22.285311],[110.793503,22.274496],[110.779907,22.210794],[110.861992,22.19075],[111.045799,22.273827],[111.358818,22.287785],[111.30719,22.018393],[111.211143,21.95668],[111.185387,21.831846],[111.094887,21.87232],[111.100922,21.785301],[111.014679,21.75433],[110.828133,21.825211],[110.741531,21.709654],[110.653091,21.769835],[110.613022,21.964413],[110.689178,22.062656],[110.650513,22.108999],[110.714073,22.124466],[110.644531,22.22508],[110.782593,22.285311]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440981,"AVE_PROVIN":44,"FIRST_NAME":"Gaozhou","LAST_NAME9":"¸ßÖÝÊÐ"}},{"type":"Feature","id":"counties_china.2073","geometry":{"type":"Polygon","coordinates":[[[110.414948,22.208748],[110.493668,22.148497],[110.673683,22.187046],[110.714073,22.124466],[110.650513,22.108999],[110.689178,22.062656],[110.613022,21.964413],[110.653091,21.769835],[110.746498,21.682775],[110.68306,21.493292],[110.505676,21.503622],[110.357399,21.703888],[110.342247,21.844151],[110.396301,21.864828],[110.322647,22.17169],[110.414948,22.208748]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440982,"AVE_PROVIN":44,"FIRST_NAME":"Huazhou","LAST_NAME9":"»¯ÖÝÊÐ"}},{"type":"Feature","id":"counties_china.2074","geometry":{"type":"Polygon","coordinates":[[[110.895752,22.612295],[111.117844,22.706631],[111.155617,22.618666],[111.320168,22.559124],[111.269997,22.500166],[111.403816,22.514704],[111.414719,22.43199],[111.592216,22.554689],[111.682838,22.482515],[111.451874,22.273277],[111.045799,22.273827],[110.861992,22.19075],[110.779907,22.210794],[110.681541,22.475733],[110.739899,22.468731],[110.764992,22.583788],[110.895752,22.612295]]]},"geometry_name":"the_geom","properties":{"ADCODE99":440983,"AVE_PROVIN":44,"FIRST_NAME":"Xinyi","LAST_NAME9":"ÐÅÒËÊÐ"}},{"type":"Feature","id":"counties_china.2125","geometry":{"type":"Polygon","coordinates":[[[112.168686,21.536984],[112.168686,21.572141],[112.203842,21.572141],[112.203842,21.536984],[112.168686,21.536984]]]},"geometry_name":"the_geom","properties":{"ADCODE99":441701,"AVE_PROVIN":44,"FIRST_NAME":"Yangjiang_Core","LAST_NAME9":"Ñô½­ÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2126","geometry":{"type":"Polygon","coordinates":[[[112.026794,21.753628],[112.026794,21.788784],[112.061951,21.788784],[112.061951,21.753628],[112.026794,21.753628]]]},"geometry_name":"the_geom","properties":{"ADCODE99":441701,"AVE_PROVIN":44,"FIRST_NAME":"Yangjiang_Core","LAST_NAME9":"Ñô½­ÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2127","geometry":{"type":"Polygon","coordinates":[[[111.78838,21.721328],[111.78838,21.756485],[111.823536,21.756485],[111.823536,21.721328],[111.78838,21.721328]]]},"geometry_name":"the_geom","properties":{"ADCODE99":441701,"AVE_PROVIN":44,"FIRST_NAME":"Yangjiang_Core","LAST_NAME9":"Ñô½­ÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2128","geometry":{"type":"Polygon","coordinates":[[[112.076175,21.510254],[112.076175,21.545411],[112.111332,21.545411],[112.111332,21.510254],[112.076175,21.510254]]]},"geometry_name":"the_geom","properties":{"ADCODE99":441701,"AVE_PROVIN":44,"FIRST_NAME":"Yangjiang_Core","LAST_NAME9":"Ñô½­ÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2129","geometry":{"type":"Polygon","coordinates":[[[112.084495,21.520548],[112.084495,21.555704],[112.119652,21.555704],[112.119652,21.520548],[112.084495,21.520548]]]},"geometry_name":"the_geom","properties":{"ADCODE99":441701,"AVE_PROVIN":44,"FIRST_NAME":"Yangjiang_Core","LAST_NAME9":"Ñô½­ÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2132","geometry":{"type":"Polygon","coordinates":[[[112.101081,21.627053],[112.101081,21.66221],[112.136238,21.66221],[112.136238,21.627053],[112.101081,21.627053]]]},"geometry_name":"the_geom","properties":{"ADCODE99":441701,"AVE_PROVIN":44,"FIRST_NAME":"Yangjiang_Core","LAST_NAME9":"Ñô½­ÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2133","geometry":{"type":"Polygon","coordinates":[[[112.000938,22.254999],[112.016487,22.117804],[112.223244,22.072414],[112.365593,21.860277],[112.264977,21.696455],[112.191704,21.733282],[112.22049,21.847496],[112.197639,21.792215],[112.023331,21.789207],[112.009399,21.827938],[112.050873,21.85589],[112.050583,21.879807],[111.952599,21.788851],[112.022949,21.758642],[111.913643,21.699205],[112.01786,21.631866],[111.811974,21.554693],[111.910248,21.674458],[111.816002,21.704025],[111.850128,21.771246],[111.802338,21.750929],[111.720169,21.917192],[112.000938,22.254999]]]},"geometry_name":"the_geom","properties":{"ADCODE99":441701,"AVE_PROVIN":44,"FIRST_NAME":"Yangjiang_Core","LAST_NAME9":"Ñô½­ÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2134","geometry":{"type":"Polygon","coordinates":[[[111.443676,21.472465],[111.443676,21.507622],[111.478833,21.507622],[111.478833,21.472465],[111.443676,21.472465]]]},"geometry_name":"the_geom","properties":{"ADCODE99":441721,"AVE_PROVIN":44,"FIRST_NAME":"Yangxi","LAST_NAME9":"ÑôÎ÷ÏØ"}},{"type":"Feature","id":"counties_china.2135","geometry":{"type":"Polygon","coordinates":[[[111.669601,21.525494],[111.669601,21.56065],[111.704758,21.56065],[111.704758,21.525494],[111.669601,21.525494]]]},"geometry_name":"the_geom","properties":{"ADCODE99":441721,"AVE_PROVIN":44,"FIRST_NAME":"Yangxi","LAST_NAME9":"ÑôÎ÷ÏØ"}},{"type":"Feature","id":"counties_china.2137","geometry":{"type":"Polygon","coordinates":[[[111.613716,21.490227],[111.613716,21.525383],[111.648873,21.525383],[111.648873,21.490227],[111.613716,21.490227]]]},"geometry_name":"the_geom","properties":{"ADCODE99":441721,"AVE_PROVIN":44,"FIRST_NAME":"Yangxi","LAST_NAME9":"ÑôÎ÷ÏØ"}},{"type":"Feature","id":"counties_china.2138","geometry":{"type":"Polygon","coordinates":[[[111.780857,21.671566],[111.780857,21.706723],[111.816013,21.706723],[111.816013,21.671566],[111.780857,21.671566]]]},"geometry_name":"the_geom","properties":{"ADCODE99":441721,"AVE_PROVIN":44,"FIRST_NAME":"Yangxi","LAST_NAME9":"ÑôÎ÷ÏØ"}},{"type":"Feature","id":"counties_china.2139","geometry":{"type":"Polygon","coordinates":[[[111.720169,21.917192],[111.786842,21.852507],[111.771553,21.754473],[111.680077,21.779987],[111.643158,21.752993],[111.784668,21.710955],[111.740631,21.637032],[111.789673,21.612679],[111.683563,21.591204],[111.650688,21.510765],[111.592194,21.559662],[111.627769,21.528282],[111.474121,21.501255],[111.387917,21.792253],[111.720169,21.917192]]]},"geometry_name":"the_geom","properties":{"ADCODE99":441721,"AVE_PROVIN":44,"FIRST_NAME":"Yangxi","LAST_NAME9":"ÑôÎ÷ÏØ"}},{"type":"Feature","id":"counties_china.2140","geometry":{"type":"Polygon","coordinates":[[[111.841721,22.681803],[111.82576,22.5916],[111.973328,22.619959],[111.996323,22.477608],[112.153969,22.406303],[112.147041,22.347727],[111.944321,22.25185],[111.946037,22.172668],[111.78392,22.043474],[111.793404,21.949512],[111.425583,21.842319],[111.333229,21.877701],[111.281853,22.047087],[111.351349,22.234362],[111.628593,22.404669],[111.841721,22.681803]]]},"geometry_name":"the_geom","properties":{"ADCODE99":441781,"AVE_PROVIN":44,"FIRST_NAME":"Yangchun","LAST_NAME9":"Ñô´ºÊÐ"}},{"type":"Feature","id":"counties_china.2162","geometry":{"type":"Polygon","coordinates":[[[112.282547,23.135229],[112.253036,22.931715],[112.308708,22.839771],[112.126457,22.788116],[111.901047,22.575718],[111.82576,22.5916],[111.878487,22.726795],[111.729149,22.806896],[111.886833,22.898769],[111.82032,22.932886],[111.895981,23.129395],[112.173141,23.075594],[112.282547,23.135229]]]},"geometry_name":"the_geom","properties":{"ADCODE99":445300,"AVE_PROVIN":45,"FIRST_NAME":"Yunfu","LAST_NAME9":"ÔƸ¡ÊÐ"}},{"type":"Feature","id":"counties_china.2163","geometry":{"type":"Polygon","coordinates":[[[112.308708,22.839771],[112.517433,22.6117],[112.419418,22.655542],[112.235512,22.415644],[112.080208,22.418152],[111.978973,22.507904],[111.965874,22.640747],[112.126457,22.788116],[112.308708,22.839771]]]},"geometry_name":"the_geom","properties":{"ADCODE99":445321,"AVE_PROVIN":45,"FIRST_NAME":"Xinxing","LAST_NAME9":"ÐÂÐËÏØ"}},{"type":"Feature","id":"counties_china.2165","geometry":{"type":"Polygon","coordinates":[[[111.729149,22.806896],[111.878487,22.726795],[111.783974,22.595795],[111.682838,22.482515],[111.592216,22.554689],[111.419403,22.430336],[111.403816,22.514704],[111.269997,22.500166],[111.320168,22.559124],[111.053917,22.731133],[111.221786,22.756327],[111.404709,22.952255],[111.567619,22.802788],[111.729149,22.806896]]]},"geometry_name":"the_geom","properties":{"ADCODE99":445381,"AVE_PROVIN":45,"FIRST_NAME":"Luoding","LAST_NAME9":"ÂÞ¶¨ÊÐ"}},{"type":"Feature","id":"counties_china.2167","geometry":{"type":"Polygon","coordinates":[[[108.416718,22.98982],[108.57151,23.013926],[108.616333,23.108946],[108.711449,23.087534],[108.820084,22.967474],[108.793053,22.66119],[108.852638,22.560999],[108.552002,22.412685],[108.494057,22.247004],[108.281013,22.204399],[108.138107,22.304064],[107.990601,22.576317],[108.165688,22.748224],[108.315147,22.649662],[108.306297,22.772562],[108.444794,22.792576],[108.416718,22.98982]]]},"geometry_name":"the_geom","properties":{"ADCODE99":450121,"AVE_PROVIN":45,"FIRST_NAME":"Yining","LAST_NAME9":"çßÄþÏØ"}},{"type":"Feature","id":"counties_china.2191","geometry":{"type":"Polygon","coordinates":[[[109.196163,20.888875],[109.196163,20.924032],[109.23132,20.924032],[109.23132,20.888875],[109.196163,20.888875]]]},"geometry_name":"the_geom","properties":{"ADCODE99":450501,"AVE_PROVIN":45,"FIRST_NAME":"Beihai_Core","LAST_NAME9":"±±º£ÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2192","geometry":{"type":"Polygon","coordinates":[[[109.132233,21.066063],[109.125633,21.021063],[109.08094,21.017279],[109.085098,21.053625],[109.132233,21.066063]]]},"geometry_name":"the_geom","properties":{"ADCODE99":450501,"AVE_PROVIN":45,"FIRST_NAME":"Beihai_Core","LAST_NAME9":"±±º£ÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2193","geometry":{"type":"Polygon","coordinates":[[[109.152367,21.568237],[109.27594,21.588406],[109.22744,21.422907],[109.045326,21.43125],[109.152367,21.568237]]]},"geometry_name":"the_geom","properties":{"ADCODE99":450501,"AVE_PROVIN":45,"FIRST_NAME":"Beihai_Core","LAST_NAME9":"±±º£ÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2194","geometry":{"type":"Polygon","coordinates":[[[109.29068,21.912907],[109.702347,21.907866],[109.688362,21.687513],[109.763184,21.66732],[109.769386,21.480843],[109.651451,21.511875],[109.693161,21.62586],[109.611183,21.573837],[109.551086,21.692255],[109.61116,21.74316],[109.593628,21.771095],[109.461487,21.660528],[109.578163,21.580957],[109.553711,21.515757],[109.427597,21.45237],[109.241524,21.448833],[109.238937,21.620661],[109.154778,21.566214],[109.152489,21.628975],[109.133163,21.576027],[109.063347,21.648487],[108.962181,21.597166],[108.84922,21.682896],[108.976898,21.836962],[109.29068,21.912907]]]},"geometry_name":"the_geom","properties":{"ADCODE99":450521,"AVE_PROVIN":45,"FIRST_NAME":"Hepu","LAST_NAME9":"ºÏÆÖÏØ"}},{"type":"Feature","id":"counties_china.2195","geometry":{"type":"Polygon","coordinates":[[[108.537193,21.66209],[108.537193,21.697247],[108.57235,21.697247],[108.57235,21.66209],[108.537193,21.66209]]]},"geometry_name":"the_geom","properties":{"ADCODE99":450601,"AVE_PROVIN":45,"FIRST_NAME":"Fangchenggang_Core","LAST_NAME9":"·À³Ç¸ÛÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2196","geometry":{"type":"Polygon","coordinates":[[[108.191833,21.997122],[108.286858,21.913084],[108.458977,21.903934],[108.471603,21.690441],[108.538986,21.717281],[108.555092,21.651581],[108.472252,21.552143],[108.391129,21.552797],[108.474533,21.659159],[108.43515,21.689108],[108.33535,21.601549],[108.351753,21.737093],[108.318527,21.579718],[108.217934,21.494856],[108.262108,21.58856],[108.19268,21.716377],[107.494713,21.592121],[107.551231,21.724968],[108.191833,21.997122]]]},"geometry_name":"the_geom","properties":{"ADCODE99":450601,"AVE_PROVIN":45,"FIRST_NAME":"Fangchenggang_Core","LAST_NAME9":"·À³Ç¸ÛÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2197","geometry":{"type":"Polygon","coordinates":[[[108.276993,22.219107],[108.183357,22.148262],[108.186279,21.985825],[107.551231,21.724968],[107.5438,21.891335],[107.673721,22.075243],[107.628677,22.192474],[107.900963,22.212862],[108.083672,22.373302],[108.276993,22.219107]]]},"geometry_name":"the_geom","properties":{"ADCODE99":450621,"AVE_PROVIN":45,"FIRST_NAME":"Shangsi","LAST_NAME9":"ÉÏ˼ÏØ"}},{"type":"Feature","id":"counties_china.2198","geometry":{"type":"Polygon","coordinates":[[[107.885292,21.628798],[107.947472,21.708363],[108.209717,21.689579],[108.213707,21.608616],[108.130966,21.566893],[108.187439,21.527622],[108.12133,21.51096],[107.968697,21.523848],[107.885292,21.628798]]]},"geometry_name":"the_geom","properties":{"ADCODE99":450681,"AVE_PROVIN":45,"FIRST_NAME":"Dongxing","LAST_NAME9":"¶«ÐËÊÐ"}},{"type":"Feature","id":"counties_china.2199","geometry":{"type":"Polygon","coordinates":[[[108.604362,21.891027],[108.620064,21.878002],[108.584541,21.8461],[108.571053,21.875811],[108.604362,21.891027]]]},"geometry_name":"the_geom","properties":{"ADCODE99":450700,"AVE_PROVIN":45,"FIRST_NAME":"Qinzhou","LAST_NAME9":"ÇÕÖÝÊÐ"}},{"type":"Feature","id":"counties_china.2200","geometry":{"type":"Polygon","coordinates":[[[108.501518,21.745058],[108.508614,21.7547],[108.548737,21.740341],[108.514076,21.714191],[108.501518,21.745058]]]},"geometry_name":"the_geom","properties":{"ADCODE99":450700,"AVE_PROVIN":45,"FIRST_NAME":"Qinzhou","LAST_NAME9":"ÇÕÖÝÊÐ"}},{"type":"Feature","id":"counties_china.2201","geometry":{"type":"Polygon","coordinates":[[[108.814323,21.771219],[108.814323,21.806375],[108.84948,21.806375],[108.84948,21.771219],[108.814323,21.771219]]]},"geometry_name":"the_geom","properties":{"ADCODE99":450700,"AVE_PROVIN":45,"FIRST_NAME":"Qinzhou","LAST_NAME9":"ÇÕÖÝÊÐ"}},{"type":"Feature","id":"counties_china.2202","geometry":{"type":"Polygon","coordinates":[[[108.690689,22.45838],[108.904694,22.259048],[108.904587,22.139502],[109.148972,21.871628],[108.887154,21.747974],[108.904991,21.778461],[108.868172,21.746677],[108.873894,21.799881],[108.790588,21.836603],[108.853592,21.756565],[108.783958,21.71978],[108.867661,21.631365],[108.742287,21.596617],[108.714104,21.749359],[108.688721,21.694157],[108.639221,21.733728],[108.686127,21.808826],[108.608002,21.708235],[108.565338,21.774788],[108.635872,21.877811],[108.543663,21.889042],[108.578529,21.938614],[108.485931,21.841162],[108.477173,21.921682],[108.286858,21.913084],[108.191833,21.997122],[108.225601,22.195007],[108.494057,22.247004],[108.552002,22.412685],[108.690689,22.45838]]]},"geometry_name":"the_geom","properties":{"ADCODE99":450700,"AVE_PROVIN":45,"FIRST_NAME":"Qinzhou","LAST_NAME9":"ÇÕÖÝÊÐ"}},{"type":"Feature","id":"counties_china.2203","geometry":{"type":"Polygon","coordinates":[[[108.835907,22.544155],[109.165428,22.552052],[109.260208,22.493601],[109.357613,22.635454],[109.515419,22.644003],[109.559738,22.550842],[109.477753,22.385309],[109.234932,22.158777],[109.293907,21.925539],[109.250748,21.868519],[109.14978,21.853273],[108.904587,22.139502],[108.904694,22.259048],[108.696533,22.421463],[108.835907,22.544155]]]},"geometry_name":"the_geom","properties":{"ADCODE99":450721,"AVE_PROVIN":45,"FIRST_NAME":"Lingshan","LAST_NAME9":"ÁéɽÏØ"}},{"type":"Feature","id":"counties_china.2204","geometry":{"type":"Polygon","coordinates":[[[109.608063,22.679213],[109.728996,22.556252],[109.845627,22.561495],[109.840981,22.327402],[109.719353,22.379992],[109.589104,22.292942],[109.545578,22.111807],[109.594963,21.910021],[109.308853,21.887957],[109.234932,22.158777],[109.477753,22.385309],[109.559738,22.550842],[109.515419,22.644003],[109.608063,22.679213]]]},"geometry_name":"the_geom","properties":{"ADCODE99":450722,"AVE_PROVIN":45,"FIRST_NAME":"Pubei","LAST_NAME9":"ÆÖ±±ÏØ"}},{"type":"Feature","id":"counties_china.2208","geometry":{"type":"Polygon","coordinates":[[[109.883331,23.027826],[110.115913,22.889814],[110.224388,22.895264],[110.134804,22.751432],[110.313744,22.680698],[110.130623,22.532568],[110.169456,22.386547],[110.102509,22.330265],[109.925346,22.378748],[109.838699,22.568384],[109.728996,22.556252],[109.658638,22.628296],[109.79216,22.755117],[109.752792,22.846434],[109.85778,22.873919],[109.797821,22.973055],[109.883331,23.027826]]]},"geometry_name":"the_geom","properties":{"ADCODE99":450900,"AVE_PROVIN":45,"FIRST_NAME":"Yulin","LAST_NAME9":"ÓñÁÖÊÐ"}},{"type":"Feature","id":"counties_china.2209","geometry":{"type":"Polygon","coordinates":[[[110.543053,23.129095],[110.746407,23.062611],[110.767326,22.767912],[110.895752,22.612295],[110.764992,22.583788],[110.727226,22.460775],[110.630539,22.475086],[110.511627,22.661991],[110.431374,22.803444],[110.463081,22.883373],[110.262062,22.883448],[110.328911,23.061926],[110.543053,23.129095]]]},"geometry_name":"the_geom","properties":{"ADCODE99":450921,"AVE_PROVIN":45,"FIRST_NAME":"Rongxian","LAST_NAME9":"ÈÝÏØ"}},{"type":"Feature","id":"counties_china.2210","geometry":{"type":"Polygon","coordinates":[[[110.151321,22.363649],[110.132347,22.534859],[110.205116,22.595695],[110.313713,22.567131],[110.344681,22.363047],[110.422882,22.32855],[110.414948,22.208748],[110.322647,22.17169],[110.374947,21.887341],[110.21447,21.941738],[110.141243,22.08466],[110.078499,22.23349],[110.196831,22.301346],[110.151321,22.363649]]]},"geometry_name":"the_geom","properties":{"ADCODE99":450922,"AVE_PROVIN":45,"FIRST_NAME":"Luchuan","LAST_NAME9":"½´¨ÏØ"}},{"type":"Feature","id":"counties_china.2211","geometry":{"type":"Polygon","coordinates":[[[109.835907,22.475437],[109.925346,22.378748],[110.203346,22.324045],[110.078979,22.229359],[110.203667,21.953701],[110.295937,21.914255],[109.979362,21.879915],[109.899002,21.6576],[109.797119,21.639767],[109.690582,21.67971],[109.702347,21.907866],[109.589394,21.924063],[109.545807,22.124203],[109.603912,22.305807],[109.727257,22.380911],[109.836281,22.32029],[109.835907,22.475437]]]},"geometry_name":"the_geom","properties":{"ADCODE99":450923,"AVE_PROVIN":45,"FIRST_NAME":"Bobai","LAST_NAME9":"²©°×ÏØ"}},{"type":"Feature","id":"counties_china.2212","geometry":{"type":"Polygon","coordinates":[[[110.227768,22.871624],[110.463081,22.883373],[110.431374,22.803444],[110.783836,22.288288],[110.693802,22.276672],[110.634918,22.150309],[110.37294,22.228022],[110.422882,22.32855],[110.344681,22.363047],[110.33947,22.515186],[110.250687,22.596478],[110.313744,22.680698],[110.130882,22.765665],[110.227768,22.871624]]]},"geometry_name":"the_geom","properties":{"ADCODE99":450981,"AVE_PROVIN":45,"FIRST_NAME":"Beiliu","LAST_NAME9":"±±Á÷ÊÐ"}},{"type":"Feature","id":"counties_china.2213","geometry":{"type":"Polygon","coordinates":[[[106.959976,22.213528],[106.97216,21.998587],[106.687378,21.966028],[106.688889,22.273045],[106.798897,22.15407],[106.959976,22.213528]]]},"geometry_name":"the_geom","properties":{"ADCODE99":452101,"AVE_PROVIN":45,"FIRST_NAME":"Pinxiang","LAST_NAME9":"ƾÏéÊÐ"}},{"type":"Feature","id":"counties_china.2214","geometry":{"type":"Polygon","coordinates":[[[108.818573,22.972744],[109.055527,22.924866],[109.244186,23.133114],[109.613258,22.68656],[109.367752,22.641214],[109.272087,22.495701],[109.165428,22.552052],[108.87841,22.515924],[108.793053,22.66119],[108.818573,22.972744]]]},"geometry_name":"the_geom","properties":{"ADCODE99":452122,"AVE_PROVIN":45,"FIRST_NAME":"Hengxian","LAST_NAME9":"ºáÏØ"}},{"type":"Feature","id":"counties_china.2219","geometry":{"type":"Polygon","coordinates":[[[107.761063,22.920948],[108.016129,22.786879],[108.039253,22.65699],[108.093727,22.703672],[107.987701,22.506533],[108.110077,22.399042],[107.900963,22.212862],[107.60347,22.189348],[107.546852,22.251989],[107.642479,22.393114],[107.523407,22.505686],[107.791679,22.671478],[107.633797,22.94533],[107.761063,22.920948]]]},"geometry_name":"the_geom","properties":{"ADCODE99":452128,"AVE_PROVIN":45,"FIRST_NAME":"Fusui","LAST_NAME9":"·öËçÏØ"}},{"type":"Feature","id":"counties_china.2220","geometry":{"type":"Polygon","coordinates":[[[107.693077,22.868656],[107.793427,22.674913],[107.523407,22.505686],[107.642479,22.393114],[107.559937,22.169971],[107.254257,22.21841],[107.275864,22.314363],[107.168037,22.347763],[107.212898,22.451063],[107.14164,22.461912],[107.109703,22.56089],[107.263321,22.663387],[107.261002,22.565809],[107.334007,22.535389],[107.309662,22.664238],[107.423737,22.830467],[107.614304,22.909355],[107.693077,22.868656]]]},"geometry_name":"the_geom","properties":{"ADCODE99":452129,"AVE_PROVIN":45,"FIRST_NAME":"Congzuo","LAST_NAME9":"³ç×óÏØ"}},{"type":"Feature","id":"counties_china.2221","geometry":{"type":"Polygon","coordinates":[[[106.665863,22.893381],[106.835953,23.096849],[106.882607,22.993139],[106.820663,22.923277],[106.912666,22.826263],[107.256416,22.992392],[107.291527,23.073149],[107.461456,23.045717],[107.49781,22.9779],[107.489548,22.853951],[107.309662,22.664238],[107.334007,22.535389],[107.202606,22.662998],[107.110947,22.498894],[106.806999,22.713417],[106.820671,22.816818],[106.665863,22.893381]]]},"geometry_name":"the_geom","properties":{"ADCODE99":452130,"AVE_PROVIN":45,"FIRST_NAME":"Daxin","LAST_NAME9":"´óÐÂÏØ"}},{"type":"Feature","id":"counties_china.2223","geometry":{"type":"Polygon","coordinates":[[[107.165993,22.385387],[107.275864,22.314363],[107.254257,22.21841],[107.625954,22.188351],[107.673721,22.075243],[107.5438,21.891335],[107.554688,21.729549],[107.38311,21.594511],[107.30162,21.739101],[107.212479,21.707069],[107.021881,21.814625],[107.047188,21.920946],[106.915192,21.970308],[107.000183,22.06575],[106.959976,22.213528],[107.165993,22.385387]]]},"geometry_name":"the_geom","properties":{"ADCODE99":452132,"AVE_PROVIN":45,"FIRST_NAME":"Ningming","LAST_NAME9":"ÄþÃ÷ÏØ"}},{"type":"Feature","id":"counties_china.2224","geometry":{"type":"Polygon","coordinates":[[[107.125793,22.50325],[107.207092,22.426834],[106.896408,22.167274],[106.793701,22.156128],[106.658798,22.33061],[106.55587,22.349627],[106.600258,22.606102],[106.727028,22.592743],[106.776657,22.751713],[107.125793,22.50325]]]},"geometry_name":"the_geom","properties":{"ADCODE99":452133,"AVE_PROVIN":45,"FIRST_NAME":"Longzhou","LAST_NAME9":"ÁúÖÝÏØ"}},{"type":"Feature","id":"counties_china.2262","geometry":{"type":"Polygon","coordinates":[[[109.70797,18.825499],[109.709297,18.703722],[109.619453,18.672363],[109.571968,18.717932],[109.397232,18.619577],[109.349121,18.71232],[109.348824,18.813427],[109.444832,18.855639],[109.70797,18.825499]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460001,"AVE_PROVIN":46,"FIRST_NAME":"Tongshi","LAST_NAME9":"ͨʲÊÐ"}},{"type":"Feature","id":"counties_china.2263","geometry":{"type":"Polygon","coordinates":[[[110.542023,19.470182],[110.585571,19.357552],[110.679153,19.391304],[110.582741,19.153561],[110.509979,19.142044],[110.552696,19.08922],[110.166328,18.988384],[110.141434,19.210186],[110.335983,19.225477],[110.364342,19.393442],[110.542023,19.470182]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460002,"AVE_PROVIN":46,"FIRST_NAME":"Qinghai","LAST_NAME9":"Çíº£ÊÐ"}},{"type":"Feature","id":"counties_china.2264","geometry":{"type":"Polygon","coordinates":[[[110.558083,19.085697],[110.564362,19.129164],[110.576279,19.14452],[110.566017,19.085432],[110.558083,19.085697]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460002,"AVE_PROVIN":46,"FIRST_NAME":"Qinghai","LAST_NAME9":"Çíº£ÊÐ"}},{"type":"Feature","id":"counties_china.2265","geometry":{"type":"Polygon","coordinates":[[[110.378838,20.019855],[110.382187,20.077993],[110.54583,20.019545],[110.604118,19.886972],[110.620773,19.968756],[110.704041,19.849756],[110.607986,19.700977],[110.662407,19.640812],[110.630409,19.532179],[110.421677,19.583353],[110.378967,19.730944],[110.214203,19.684486],[110.133202,19.928511],[110.378838,20.019855]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460002,"AVE_PROVIN":46,"FIRST_NAME":"Qinghai","LAST_NAME9":"Çíº£ÊÐ"}},{"type":"Feature","id":"counties_china.2266","geometry":{"type":"Polygon","coordinates":[[[109.562737,19.851818],[109.58297,19.648287],[109.758369,19.556973],[109.749634,19.42676],[109.638443,19.398918],[109.702507,19.33135],[109.677902,19.184],[109.468407,19.30072],[109.46965,19.398396],[109.258011,19.372961],[109.126343,19.481272],[109.00634,19.427895],[108.936493,19.505299],[109.212158,19.719698],[109.311592,19.684736],[109.28009,19.796528],[109.212303,19.731138],[109.161537,19.76417],[109.264183,19.898067],[109.562737,19.851818]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460003,"AVE_PROVIN":46,"FIRST_NAME":"Danzhou","LAST_NAME9":"ÙÙÖÝÊÐ"}},{"type":"Feature","id":"counties_china.2267","geometry":{"type":"Polygon","coordinates":[[[111.191143,19.870531],[111.191143,19.905687],[111.2263,19.905687],[111.2263,19.870531],[111.191143,19.870531]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460005,"AVE_PROVIN":46,"FIRST_NAME":"Wenchang","LAST_NAME9":"ÎIJýÊÐ"}},{"type":"Feature","id":"counties_china.2268","geometry":{"type":"Polygon","coordinates":[[[111.242725,19.950611],[111.242725,19.985768],[111.277882,19.985768],[111.277882,19.950611],[111.242725,19.950611]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460005,"AVE_PROVIN":46,"FIRST_NAME":"Wenchang","LAST_NAME9":"ÎIJýÊÐ"}},{"type":"Feature","id":"counties_china.2272","geometry":{"type":"Polygon","coordinates":[[[110.744175,19.419388],[110.744175,19.454544],[110.779331,19.454544],[110.779331,19.419388],[110.744175,19.419388]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460005,"AVE_PROVIN":46,"FIRST_NAME":"Wenchang","LAST_NAME9":"ÎIJýÊÐ"}},{"type":"Feature","id":"counties_china.2274","geometry":{"type":"Polygon","coordinates":[[[110.520401,19.564436],[110.639198,19.544224],[110.607986,19.700977],[110.706383,19.842325],[110.568871,20.086811],[110.686958,20.165257],[110.776588,20.012321],[110.951958,19.982744],[111.038727,19.639347],[110.86615,19.5196],[110.825287,19.589504],[110.883904,19.599138],[110.902588,19.643637],[110.766968,19.626995],[110.807037,19.485708],[110.600403,19.352238],[110.543129,19.486917],[110.463127,19.508358],[110.520401,19.564436]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460005,"AVE_PROVIN":46,"FIRST_NAME":"Wenchang","LAST_NAME9":"ÎIJýÊÐ"}},{"type":"Feature","id":"counties_china.2275","geometry":{"type":"Polygon","coordinates":[[[110.460632,18.661372],[110.460632,18.696528],[110.495788,18.696528],[110.495788,18.661372],[110.460632,18.661372]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460006,"AVE_PROVIN":46,"FIRST_NAME":"Wanning","LAST_NAME9":"ÍòÄþÊÐ"}},{"type":"Feature","id":"counties_china.2276","geometry":{"type":"Polygon","coordinates":[[[110.558083,19.085697],[110.516457,18.885729],[110.464699,18.880447],[110.434914,18.838373],[110.499397,18.792843],[110.504547,18.881815],[110.537987,18.785694],[110.410004,18.661814],[110.329918,18.671398],[110.416718,18.684595],[110.41703,18.713211],[110.243187,18.648088],[110.177544,18.587248],[110.027473,18.63707],[110.004211,18.72488],[110.091408,18.813046],[110.041183,18.87958],[110.146751,19.017992],[110.258049,18.976105],[110.456192,19.09594],[110.558083,19.085697]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460006,"AVE_PROVIN":46,"FIRST_NAME":"Wanning","LAST_NAME9":"ÍòÄþÊÐ"}},{"type":"Feature","id":"counties_china.2277","geometry":{"type":"Polygon","coordinates":[[[108.679031,19.283556],[108.961243,19.208445],[109.004822,19.045507],[109.101196,18.997713],[109.063713,18.804987],[108.694099,18.722527],[108.621696,18.835283],[108.618607,19.099241],[108.677879,19.182549],[108.627281,19.27771],[108.679031,19.283556]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460007,"AVE_PROVIN":46,"FIRST_NAME":"Dongfang","LAST_NAME9":"¶«·½ÊÐ"}},{"type":"Feature","id":"counties_china.2278","geometry":{"type":"Polygon","coordinates":[[[110.254143,19.692642],[110.378967,19.730944],[110.390427,19.609852],[110.494537,19.589287],[110.463127,19.508358],[110.544617,19.481585],[110.364342,19.393442],[110.340012,19.229944],[110.262207,19.214937],[110.153816,19.391075],[110.245407,19.498735],[110.17704,19.596189],[110.132233,19.564028],[110.126968,19.649641],[110.209183,19.626205],[110.254143,19.692642]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460025,"AVE_PROVIN":46,"FIRST_NAME":"Ding'an","LAST_NAME9":"¶¨°²ÏØ"}},{"type":"Feature","id":"counties_china.2279","geometry":{"type":"Polygon","coordinates":[[[110.098824,19.55064],[110.170143,19.599848],[110.245407,19.498735],[110.154099,19.419836],[110.223518,19.209944],[110.05294,19.132923],[109.816238,19.340424],[109.93325,19.487644],[110.050987,19.460142],[110.098824,19.55064]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460026,"AVE_PROVIN":46,"FIRST_NAME":"Tunchang","LAST_NAME9":"ÍͲýÏØ"}},{"type":"Feature","id":"counties_china.2280","geometry":{"type":"Polygon","coordinates":[[[110.133423,20.013744],[110.114037,19.981596],[110.078346,19.982599],[110.116676,19.994141],[110.133423,20.013744]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460027,"AVE_PROVIN":46,"FIRST_NAME":"Chengmai","LAST_NAME9":"³ÎÂõÏØ"}},{"type":"Feature","id":"counties_china.2281","geometry":{"type":"Polygon","coordinates":[[[110.147133,20.00799],[110.132912,19.8627],[110.199608,19.841221],[110.24855,19.681948],[110.126968,19.649641],[110.060097,19.464231],[109.93325,19.487644],[109.905502,19.390739],[109.77726,19.378584],[109.721542,19.496542],[109.85054,19.659271],[109.876534,19.967707],[109.944901,19.989609],[110.008072,19.892815],[110.147133,20.00799]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460027,"AVE_PROVIN":46,"FIRST_NAME":"Chengmai","LAST_NAME9":"³ÎÂõÏØ"}},{"type":"Feature","id":"counties_china.2282","geometry":{"type":"Polygon","coordinates":[[[109.562737,19.851818],[109.516632,19.899015],[109.586617,19.985544],[109.835152,19.976295],[109.881393,19.781351],[109.820747,19.599991],[109.701157,19.577524],[109.584824,19.645931],[109.562737,19.851818]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460028,"AVE_PROVIN":46,"FIRST_NAME":"Lingao","LAST_NAME9":"ÁÙ¸ßÏØ"}},{"type":"Feature","id":"counties_china.2283","geometry":{"type":"Polygon","coordinates":[[[109.059883,19.486176],[109.258011,19.372961],[109.46965,19.398396],[109.465157,19.304499],[109.530838,19.310797],[109.694687,19.13059],[109.361923,18.934158],[109.282066,18.956268],[109.270691,19.060642],[109.170563,19.094723],[109.13755,19.265104],[109.038513,19.342268],[109.059883,19.486176]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460030,"AVE_PROVIN":46,"FIRST_NAME":"Baisha","LAST_NAME9":"°×ɳÀè×å×ÔÖÎÏØ"}},{"type":"Feature","id":"counties_china.2284","geometry":{"type":"Polygon","coordinates":[[[108.636299,19.287762],[108.636299,19.322918],[108.671456,19.322918],[108.671456,19.287762],[108.636299,19.287762]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460031,"AVE_PROVIN":46,"FIRST_NAME":"Changjiang","LAST_NAME9":"²ý½­Àè×å×ÔÖÎÏØ"}},{"type":"Feature","id":"counties_china.2285","geometry":{"type":"Polygon","coordinates":[[[108.944763,19.492922],[109.13755,19.265104],[109.170563,19.094723],[109.270691,19.060642],[109.250351,18.898287],[109.116219,18.874187],[108.948334,19.220926],[108.663368,19.308323],[108.944763,19.492922]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460031,"AVE_PROVIN":46,"FIRST_NAME":"Changjiang","LAST_NAME9":"²ý½­Àè×å×ÔÖÎÏØ"}},{"type":"Feature","id":"counties_china.2286","geometry":{"type":"Polygon","coordinates":[[[109.289742,18.954227],[109.397743,18.958927],[109.445419,18.874693],[109.34594,18.806379],[109.397232,18.619577],[109.302307,18.516623],[109.199707,18.550825],[109.181023,18.448601],[108.9739,18.378328],[108.681473,18.509693],[108.694099,18.722527],[109.054909,18.801075],[109.289742,18.954227]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460033,"AVE_PROVIN":46,"FIRST_NAME":"Ledong","LAST_NAME9":"ÀÖ¶«Àè×å×ÔÖÎÏØ"}},{"type":"Feature","id":"counties_china.2287","geometry":{"type":"Polygon","coordinates":[[[109.765808,18.804815],[109.828796,18.722332],[109.971123,18.760174],[110.027473,18.63707],[110.178467,18.587456],[110.056953,18.389524],[109.965942,18.38722],[110.020157,18.405649],[110.032806,18.427212],[110.013077,18.4559],[109.785118,18.398533],[109.771584,18.501785],[109.844498,18.555042],[109.765808,18.804815]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460034,"AVE_PROVIN":46,"FIRST_NAME":"Lingshui","LAST_NAME9":"ÁêË®Àè×å×ÔÖÎÏØ"}},{"type":"Feature","id":"counties_china.2288","geometry":{"type":"Polygon","coordinates":[[[109.765808,18.804815],[109.826202,18.512375],[109.723259,18.497337],[109.673927,18.390379],[109.531349,18.394388],[109.523903,18.526037],[109.397232,18.619577],[109.571968,18.717932],[109.709297,18.703722],[109.689583,18.795309],[109.765808,18.804815]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460035,"AVE_PROVIN":46,"FIRST_NAME":"Baoting","LAST_NAME9":"±£Í¤Àè×åÃç×å×ÔÖÎÏØ"}},{"type":"Feature","id":"counties_china.2289","geometry":{"type":"Polygon","coordinates":[[[109.73571,19.411871],[109.858803,19.42186],[109.824203,19.282394],[110.110893,19.134718],[110.144028,18.969677],[110.003113,18.72773],[109.828796,18.722332],[109.76432,18.811062],[109.444832,18.855639],[109.397743,18.958927],[109.688339,19.121582],[109.702507,19.33135],[109.638443,19.398918],[109.73571,19.411871]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460036,"AVE_PROVIN":46,"FIRST_NAME":"Qiongzhong","LAST_NAME9":"ÇíÖÐÀè×åÃç×å×ÔÖÎÏØ"}},{"type":"Feature","id":"counties_china.2290","geometry":{"type":"Polygon","coordinates":[[[110.346809,20.057839],[110.346809,20.092996],[110.381966,20.092996],[110.381966,20.057839],[110.346809,20.057839]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460100,"AVE_PROVIN":46,"FIRST_NAME":"Haikou","LAST_NAME9":"º£¿ÚÊÐ"}},{"type":"Feature","id":"counties_china.2292","geometry":{"type":"Polygon","coordinates":[[[110.378838,20.019855],[110.256142,19.948071],[110.133423,20.013744],[110.173866,20.063286],[110.378838,20.019855]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460100,"AVE_PROVIN":46,"FIRST_NAME":"Haikou","LAST_NAME9":"º£¿ÚÊÐ"}},{"type":"Feature","id":"counties_china.2293","geometry":{"type":"Polygon","coordinates":[[[109.785118,18.398533],[109.733978,18.265938],[109.704147,18.281681],[109.67495,18.274742],[109.74073,18.251421],[109.711487,18.195946],[109.62883,18.23024],[109.569588,18.160896],[109.571297,18.258913],[109.481003,18.187187],[109.431557,18.292465],[109.178688,18.285713],[109.13385,18.356249],[108.9739,18.378328],[109.397232,18.619577],[109.523903,18.526037],[109.531349,18.394388],[109.678093,18.392559],[109.763634,18.521908],[109.785118,18.398533]]]},"geometry_name":"the_geom","properties":{"ADCODE99":460201,"AVE_PROVIN":46,"FIRST_NAME":"Sanya_Core","LAST_NAME9":"ÈýÑÇÊÐÊÐϽÇø"}},{"type":"Feature","id":"counties_china.2639","geometry":{"type":"Polygon","coordinates":[[[103.222656,23.076872],[103.651443,22.793961],[103.532501,22.598923],[103.331932,22.814413],[103.030678,22.445614],[102.830368,22.627577],[102.583961,22.706535],[102.646004,22.86186],[102.782249,22.855331],[102.841507,23.037823],[103.150162,22.836403],[103.108543,22.956215],[103.198349,22.978081],[103.222656,23.076872]]]},"geometry_name":"the_geom","properties":{"ADCODE99":532530,"AVE_PROVIN":53,"FIRST_NAME":"Jinpingxian","LAST_NAME9":"½ðƽÃç×åÑþ×å´ö×å×ÔÖÎÏØ"}},{"type":"Feature","id":"counties_china.2640","geometry":{"type":"Polygon","coordinates":[[[102.381287,23.134516],[102.529037,23.082586],[102.552094,22.994379],[102.452148,22.973486],[102.647438,22.855698],[102.583961,22.706535],[102.455856,22.76343],[102.359131,22.572311],[102.080254,22.659092],[102.00753,22.787474],[101.789207,22.886219],[101.876083,23.020279],[102.01088,22.993473],[102.102791,23.127398],[102.381287,23.134516]]]},"geometry_name":"the_geom","properties":{"ADCODE99":532531,"AVE_PROVIN":53,"FIRST_NAME":"Luchun","LAST_NAME9":"ÂÌ´ºÏØ"}},{"type":"Feature","id":"counties_china.2641","geometry":{"type":"Polygon","coordinates":[[[103.430107,23.016842],[103.555946,23.02276],[103.593307,22.930086],[103.764458,22.844477],[103.857773,22.887867],[103.952858,22.677032],[104.113274,22.897194],[104.284576,22.846645],[104.096062,22.79631],[103.966507,22.50392],[103.430107,23.016842]]]},"geometry_name":"the_geom","properties":{"ADCODE99":532532,"AVE_PROVIN":53,"FIRST_NAME":"Hekou","LAST_NAME9":"ºÓ¿ÚÑþ×å×ÔÖÎÏØ"}},{"type":"Feature","id":"counties_china.2650","geometry":{"type":"Polygon","coordinates":[[[100.716713,23.081841],[100.825897,22.94644],[101.290703,22.780544],[101.446152,22.586823],[101.306717,22.536381],[100.784058,22.588263],[100.769478,22.524881],[100.571022,22.467255],[100.370628,22.683321],[100.326408,22.865801],[100.539307,22.818308],[100.716713,23.081841]]]},"geometry_name":"the_geom","properties":{"ADCODE99":532701,"AVE_PROVIN":53,"FIRST_NAME":"Simao","LAST_NAME9":"˼éÊÐ"}},{"type":"Feature","id":"counties_china.2656","geometry":{"type":"Polygon","coordinates":[[[101.589821,22.855806],[101.745209,22.925987],[101.873863,22.800005],[102.00753,22.787474],[102.080254,22.659092],[102.278351,22.612518],[102.346024,22.495991],[102.263046,22.417744],[102.028107,22.460367],[101.887001,22.38516],[101.765022,22.508657],[101.670937,22.475159],[101.647301,22.337822],[101.582481,22.340126],[101.433884,22.617142],[101.212128,22.831747],[101.339111,22.87295],[101.463921,22.682199],[101.60051,22.748165],[101.589821,22.855806]]]},"geometry_name":"the_geom","properties":{"ADCODE99":532727,"AVE_PROVIN":53,"FIRST_NAME":"Jiangcheng","LAST_NAME9":"½­³Ç¹þÄá×åÒÍ×å×ÔÖÎÏØ"}},{"type":"Feature","id":"counties_china.2657","geometry":{"type":"Polygon","coordinates":[[[99.494011,22.456352],[99.735374,22.520533],[99.647942,22.103586],[99.163849,22.154604],[99.254913,22.39513],[99.372444,22.493334],[99.494011,22.456352]]]},"geometry_name":"the_geom","properties":{"ADCODE99":532728,"AVE_PROVIN":53,"FIRST_NAME":"Menglian","LAST_NAME9":"ÃÏÁ¬´ö×åÀ­ìï×åØô×å×ÔÖÎÏØ"}},{"type":"Feature","id":"counties_china.2658","geometry":{"type":"Polygon","coordinates":[[[99.673279,23.250181],[99.798172,23.20153],[99.941368,23.252487],[100.105659,23.173832],[100.145622,23.065126],[100.309128,22.956964],[100.370628,22.683321],[100.580872,22.499783],[100.339882,22.420441],[100.397423,22.365557],[100.367348,22.266603],[100.089417,22.249243],[99.96743,22.052752],[99.840729,22.024557],[99.647942,22.103586],[99.64537,22.273167],[99.716583,22.261604],[99.757896,22.434361],[99.731544,22.528862],[99.494011,22.456352],[99.713371,22.639912],[99.65094,22.916885],[99.558838,22.935823],[99.502213,23.109318],[99.673279,23.250181]]]},"geometry_name":"the_geom","properties":{"ADCODE99":532729,"AVE_PROVIN":53,"FIRST_NAME":"Lancang","LAST_NAME9":"À½²×À­ìï×å×ÔÖÎÏØ"}},{"type":"Feature","id":"counties_china.2659","geometry":{"type":"Polygon","coordinates":[[[99.372444,22.493334],[99.311073,22.741098],[99.464874,22.848166],[99.438271,22.938536],[99.641006,22.928192],[99.709244,22.632206],[99.494011,22.456352],[99.372444,22.493334]]]},"geometry_name":"the_geom","properties":{"ADCODE99":532730,"AVE_PROVIN":53,"FIRST_NAME":"Ximeng","LAST_NAME9":"Î÷ÃËØô×å×ÔÖÎÏØ"}},{"type":"Feature","id":"counties_china.2660","geometry":{"type":"Polygon","coordinates":[[[101.030647,22.591417],[101.306717,22.536381],[101.446152,22.586823],[101.508423,22.409624],[101.31572,22.337831],[101.225456,22.180119],[101.098083,22.140623],[101.258263,21.99037],[101.174294,21.947992],[101.16465,21.782745],[100.883667,21.693516],[100.671173,21.481277],[100.478127,21.459085],[100.431473,21.53812],[100.691978,22.081221],[100.61235,22.252708],[100.656387,22.327221],[100.562134,22.44747],[100.769478,22.524881],[100.784058,22.588263],[101.030647,22.591417]]]},"geometry_name":"the_geom","properties":{"ADCODE99":532801,"AVE_PROVIN":53,"FIRST_NAME":"Jinghong","LAST_NAME9":"¾°ºéÊÐ"}},{"type":"Feature","id":"counties_china.2661","geometry":{"type":"Polygon","coordinates":[[[100.564217,22.50366],[100.656387,22.327221],[100.61235,22.252708],[100.691978,22.081221],[100.615723,21.99324],[100.669548,21.937695],[100.538033,21.806974],[100.462479,21.562815],[100.168808,21.488096],[100.11145,21.587307],[100.168137,21.665474],[100.002502,21.698612],[99.945259,21.814848],[99.957382,22.037884],[100.089417,22.249243],[100.242653,22.300468],[100.358414,22.261274],[100.397423,22.365557],[100.339882,22.420441],[100.564217,22.50366]]]},"geometry_name":"the_geom","properties":{"ADCODE99":532822,"AVE_PROVIN":53,"FIRST_NAME":"Menghai","LAST_NAME9":"Ûº£ÏØ"}},{"type":"Feature","id":"counties_china.2662","geometry":{"type":"Polygon","coordinates":[[[101.582481,22.340126],[101.647301,22.337822],[101.547997,22.244911],[101.610336,21.971491],[101.776016,21.832039],[101.743553,21.734976],[101.831573,21.62155],[101.744347,21.578688],[101.726639,21.341196],[101.84169,21.248016],[101.756363,21.144672],[101.542328,21.254522],[101.288963,21.178858],[101.141289,21.407457],[101.221733,21.498625],[101.110947,21.769758],[101.180656,21.801664],[101.175217,21.949621],[101.258263,21.99037],[101.098083,22.140623],[101.219933,22.175161],[101.344704,22.356016],[101.508423,22.409624],[101.582481,22.340126]]]},"geometry_name":"the_geom","properties":{"ADCODE99":532823,"AVE_PROVIN":53,"FIRST_NAME":"Mengla","LAST_NAME9":"ÛÂÀ°ÏØ"}}]}

            },
            'layout': {},
            'paint': {
                'fill-color': '#088',
                'fill-opacity': 0.8
            }
        });
    });
</script>

</body>
</html>

 

2.mapboxgl在矢量切片上叠加geojson

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>countiesChina</title>
    <meta charset="utf-8" />
    <script src="../js/mapbox-gl.js"></script>
    <link href="../css/mapbox-gl.css" rel="stylesheet" />
    <style>
        html, body {
            padding: 0;
            margin: 0;
            height: 100%;
            overflow: hidden;
        }

        #map {
            height: 100%;
            z-index: 0;
        }
    </style>
</head>
<body>
    <div id='map'></div>
    <script>
        var map = new mapboxgl.Map({
            container: 'map',
           center: [105.7350860781, 34.3459367715],

            zoom:4,
            //这里sprite的url换成我自己的webstorm的url,63342.原来代码中url是61477
            style:

                //这里得部分是对照官网api写的,学习了mapbox的style的json格式的编写。
                // {
                //     "version": 8,
                //     "name": "mapboxgltest",
                //     "sprite": "http://localhost:8032/ATtuingMapbox/sprites/sprite",
                //     "glyphs": "../fonts/{fontstack}/{range}.pbf",
                //     "sources": {
                //         "counties_china": {
                //             "type": "vector",
                //             "scheme": "tms",
                //             "tiles": [
                //                 "http://localhost:8080/geoserver/gwc/service/tms/1.0.0/chinatest%3Acounties_china@EPSG%3A900913@pbf/{z}/{x}/{y}.pbf",
                //        ]
                //         }
                //     },
                //     "layers": [
                //         {
                //             "id": "background",
                //
                //             "type": "background",
                //             "layout": {},
                //             "paint": {
                //                 "background-color":{
                //                                     "base": 1,
                //                                     "stops": [
                //                                         [
                //                                             11,
                //                                             "hsl(35, 32%, 91%)"
                //                                         ],
                //                                         [
                //                                             13,
                //                                             "hsl(35, 12%, 89%)"
                //                                         ]
                //                                     ]
                //                                 }
                //                             },
                //                             "interactive": true
                //
                //         },
                //       {
                //             "id": "counties_china",
                //             "source": "counties_china",
                //             "source-layer": "counties_china",
                //             "type": "fill",
                //             "paint": {
                //                 "fill-color": "#00ffff"
                //             }
                //         }
                //
                //
                //     ]
                // }



                {
                "version": 8,
                //我使用的这个版本sprite要写全路径,这个8032shi是用iis服务器配置出来的
                "sprite": "http://localhost:8032/ATtuingMapbox/sprites/sprite",
                //字体.pbf文件获取
               "glyphs": "../fonts/{fontstack}/{range}.pbf",
                "sources": {
                   // "china": {
                    "counties_china": {
                        //矢量类型
                        "type": "vector",
                        //服务类型 tms,要使用wmts服务请换成wmts
                        "scheme": "tms",
                        "tiles": [
                            //获取GeoServer 矢量切片服务,可以是一下几种方式
                           "http://localhost:8082/geoserver/gwc/service/tms/1.0.0/testchina815%3Acounties_china@EPSG%3A900913@pbf/{z}/{x}/{y}.pbf",

                        //    "http://localhost:8080/geoserver/gwc/service/tms/1.0.0/testchina815%3Acounties_china@EPSG%3A900313@geojson/{z}/{x}/{y}.geojson" //错误代码400

                        ]
                    }
                },
                "layers": [{
                    "id": "background",
                    //地图背景
                    "type": "background",
                    "layout": {},
                    "paint": {
                        "background-color": {
                            "base": 1,
                            "stops": [
                                [
                                    11,
                                    "hsl(35, 32%, 91%)"
                                ],
                                [
                                    13,
                                    "hsl(35, 12%, 89%)"
                                ]
                            ]
                        }
                    },
                    "interactive": true
                },{
            "id": "counties_china",
                "type": "fill",
                "source": "counties_china",
                "source-layer": "counties_china",
                "maxzoom": 9,
                "layout": {},
                "paint": {
                    "fill-color": "hsl(75, 62%, 81%)",
                    "fill-opacity": 0.9
                },
                "interactive": true
             }
        ],
                "_ssl": true
            }
        });
        map.addControl(new mapboxgl.NavigationControl());

        map.on('load', function () {
            map.addSource("national-park", {
                "type": "geojson",           /* geojson类型资源 */
                "data": {                    /* geojson数据 */
                    "type": "FeatureCollection",
                    "features": [{
                        "type": "Feature",
                        "geometry": {
                            "type": "Polygon",
                            "coordinates": [
                                [
                                    [77.353637,39.584978],
                                    [123.284551, 45.584758],
                                    [105.7350860781, 25.3459367715],
                                    [77.353637,39.584978]
                                ]
                            ]
                        }
                    }, {
                        "type": "Feature",
                        "geometry": {
                            "type": "Point",
                            "coordinates": [105.415061,23.506229]
                        }
                    }, {
                        "type": "Feature",
                        "geometry": {
                            "type": "Point",
                            "coordinates": [67.505184, 33.488084]
                        }
                    }, {
                        "type": "Feature",
                        "geometry": {
                            "type": "Point",
                            "coordinates": [131.354465,28.488737]
                        }
                    }]
                }
            });

            map.addLayer({
                "id": "park-boundary",
                "type": "fill",           /* fill类型一般用来表示一个面,一般较大 */
                "source": "national-park",
                "paint": {
                    "fill-color": "#888888", /* 填充的颜色 */
                    "fill-opacity": 0.4      /* 透明度 */
                },
                "filter": ["==", "$type", "Polygon"]  /* filter过滤器将type等于Polygon的数据显示在layer上 */
            });

            map.addLayer({
                "id": "park-volcanoes",
                "type": "circle",          /* circle类型表示一个圆,一般比较小 */
                "source": "national-park",
                "paint": {
                    "circle-radius": 16,        /* 圆的直径,单位像素 */
                    "circle-color": "#B42222"  /* 圆的颜色 */
                },
                "filter": ["==", "$type", "Point"], /* filter过滤器将type等于Point的数据显示在layer上 */
            });
        });

    </script>
</body>
</html>

3.openlayer加载geojson

 

//加载geojson数据
var GeoJsonLayer = new ol.layer.Vector({
    title: 'add Layer',
    source: new ol.source.Vector({
        projection: 'EPSG:3857',
        url: '../geojson/building.geojson',
        format:new ol.format.GeoJSON()
    })
});
var GeoJsonLayer1 = new ol.layer.Vector({
    title: 'add Layer',
    source: new ol.source.Vector({
        projection: 'EPSG:3857',
        url: '../geojson/road.geojson',
        format:new ol.format.GeoJSON()
    })
});


var map = new ol.Map({
    layers: [
        GeoJsonLayer,GeoJsonLayer1
    ],
    target: 'map',
    controls: ol.control.defaults({
        attributionOptions: /** @type {olx.control.AttributionOptions} */ ({
            collapsible: true
        })
    }),
    view: new ol.View({
        center: [13479415.218162835,3684289.1918338826],
        // ol.proj.transform([13479415.218162835,3684289.1918338826], 'EPSG:3857', 'EPSG:4326'),
        zoom: 17
    })
});

 

4.leaflet加载图层的时候,经纬度要对调顺序

var map = L.map('map', {
        center: [31.4, 121],//注意:leaflet这里要写成纬度,经度的格式!之前出错就是因为这里经纬度位置没有进行调换
        zoom: 2
    }
);

var imageUrl = '../images/baidu2.png',
    imageBounds = [[31.369, 120.9319], [31.416, 121.03728]];
L.imageOverlay(imageUrl, imageBounds).addTo(map);

 

5.openlayer加载geojson格式的矢量切片

        var projection4326 = new ol.proj.Projection({
            code: 'EPSG:4326',
            units: 'degrees',
        });


        var defaultView = new ol.View({
            projection: projection4326,
            center: [114.15, 22.65],
            //new ol.proj.fromLonLat([114.15, 22.65]),
            zoom: 4
        });

        window.onload =function (){

            //参数设置:图层名称 / 投影坐标系 / 初始化样式
            var layerName = 'testchina815:counties_china';
            var layerProjection = '4326';
            var initStyle =  new ol.style.Style({
                stroke: new ol.style.Stroke({
                    color: 'rgb(163,204,25)',
                    width: 5
                })
            });
            //矢量切片图层
            var vectorTile = new ol.layer.VectorTile({
                title:"counties_china",
                style: initStyle,
                projection: projection4326,
                //矢量切片数据
                source: new ol.source.VectorTile({
                    projeciton: projection4326,
                    format: new ol.format.GeoJSON(),
                    tileGrid: ol.tilegrid.createXYZ({
                        extent: ol.proj.get('EPSG:4326').getExtent(),
                        maxZoom: 10
                    }),
                    tilePixelRatio:1,

                    // 矢量切片服务地址
                    tileUrlFunction: function(tileCoord){
                        return 'http://127.0.0.1:8080/geoserver/gwc/service/tms/1.0.0/'
                            +layerName+'@EPSG%3A4326@geojson/'+(tileCoord[0]-1)
                            + '/'+tileCoord[1] + '/' + (Math.pow(2,tileCoord[0]-1)+tileCoord[2]) + '.geojson';
                    }


                })
            });
           // alert(vectorTile.tileUrlFunction);
            //构造Map对象
            //你需要在页面中提供一个id='map'的div
            map = new ol.Map({
                target: 'map',
//         layers: [
//             new ol.layer.Tile({
//                 source: new ol.source.OSM()
// }),
// ],
                view:defaultView
                // controls:[
                //     new ol.control.ScaleLine(),
                //     new ol.control.ZoomSlider(),
                //     new ol.control.LayerSwitcher(),
                //     new ol.control.OverviewMap(),
                //     new ol.control.Zoom()
                // ],
            });

            map.addLayer(vectorTile);
            //alert("m");
        }

 

 

6.leaflet加载各大主流的矢量切片pbf格式

 

  var map = L.map('map');

    //        var cartodbAttribution = '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, &copy; <a href="http://cartodb.com/attributions">CartoDB</a>';
    //
    //        var positron = L.tileLayer('http://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png', {
    //           attribution: cartodbAttribution,
    //           opacity: 0.5
    //        }).addTo(map);


    var vectorTileStyling = {

        water: {
            fill: true,
            weight: 1,
            fillColor: '#06cccc',
            color: '#06cccc',
            fillOpacity: 0.2,
            opacity: 0.4,
        },
        admin: {
            weight: 1,
            fillColor: 'pink',
            color: 'pink',
            fillOpacity: 0.2,
            opacity: 0.4
        },
        waterway: {
            weight: 1,
            fillColor: '#2375e0',
            color: '#2375e0',
            fillOpacity: 0.2,
            opacity: 0.4
        },
        landcover: {
            fill: true,
            weight: 1,
            fillColor: '#53e033',
            color: '#53e033',
            fillOpacity: 0.2,
            opacity: 0.4,
        },
        landuse: {
            fill: true,
            weight: 1,
            fillColor: '#e5b404',
            color: '#e5b404',
            fillOpacity: 0.2,
            opacity: 0.4
        },
        park: {
            fill: true,
            weight: 1,
            fillColor: '#84ea5b',
            color: '#84ea5b',
            fillOpacity: 0.2,
            opacity: 0.4
        },
        boundary: {
            weight: 1,
            fillColor: '#c545d3',
            color: '#c545d3',
            fillOpacity: 0.2,
            opacity: 0.4
        },
        aeroway: {
            weight: 1,
            fillColor: '#51aeb5',
            color: '#51aeb5',
            fillOpacity: 0.2,
            opacity: 0.4
        },
        road: {    // mapbox & nextzen only
            weight: 1,
            fillColor: '#f2b648',
            color: '#f2b648',
            fillOpacity: 0.2,
            opacity: 0.4
        },
        tunnel: {  // mapbox only
            weight: 0.5,
            fillColor: '#f2b648',
            color: '#f2b648',
            fillOpacity: 0.2,
            opacity: 0.4,
//                 dashArray: [4, 4]
        },
        bridge: {  // mapbox only
            weight: 0.5,
            fillColor: '#f2b648',
            color: '#f2b648',
            fillOpacity: 0.2,
            opacity: 0.4,
//                 dashArray: [4, 4]
        },
        transportation: {  // openmaptiles only
            weight: 0.5,
            fillColor: '#f2b648',
            color: '#f2b648',
            fillOpacity: 0.2,
            opacity: 0.4,
//                 dashArray: [4, 4]
        },
        transit: { // nextzen only
            weight: 0.5,
            fillColor: '#f2b648',
            color: '#f2b648',
            fillOpacity: 0.2,
            opacity: 0.4,
//                 dashArray: [4, 4]
        },
        building: {
            fill: true,
            weight: 1,
            fillColor: '#2b2b2b',
            color: '#2b2b2b',
            fillOpacity: 0.2,
            opacity: 0.4
        },
        water_name: {
            weight: 1,
            fillColor: '#022c5b',
            color: '#022c5b',
            fillOpacity: 0.2,
            opacity: 0.4
        },
        transportation_name: {
            weight: 1,
            fillColor: '#bc6b38',
            color: '#bc6b38',
            fillOpacity: 0.2,
            opacity: 0.4
        },
        place: {
            weight: 1,
            fillColor: '#f20e93',
            color: '#f20e93',
            fillOpacity: 0.2,
            opacity: 0.4
        },
        housenumber: {
            weight: 1,
            fillColor: '#ef4c8b',
            color: '#ef4c8b',
            fillOpacity: 0.2,
            opacity: 0.4
        },
        poi: {
            weight: 1,
            fillColor: '#3bb50a',
            color: '#3bb50a',
            fillOpacity: 0.2,
            opacity: 0.4
        },
        earth: {   // nextzen only
            fill: true,
            weight: 1,
            fillColor: '#c0c0c0',
            color: '#c0c0c0',
            fillOpacity: 0.2,
            opacity: 0.4
        },


        // Do not symbolize some stuff for mapbox
        country_label: [],
        marine_label: [],
        state_label: [],
        place_label: [],
        waterway_label: [],
        poi_label: [],
        road_label: [],
        housenum_label: [],


        // Do not symbolize some stuff for openmaptiles
        country_name: [],
        marine_name: [],
        state_name: [],
        place_name: [],
        waterway_name: [],
        poi_name: [],
        road_name: [],
        housenum_name: [],
    };

    // Monkey-patch some properties for nextzen layer names, because
    // instead of "building" the data layer is called "buildings" and so on
    vectorTileStyling.buildings  = vectorTileStyling.building;
    vectorTileStyling.boundaries = vectorTileStyling.boundary;
    vectorTileStyling.places     = vectorTileStyling.place;
    vectorTileStyling.pois       = vectorTileStyling.poi;
    vectorTileStyling.roads      = vectorTileStyling.road;




    var mapboxUrl = "https://{s}.tiles.mapbox.com/v4/mapbox.mapbox-streets-v6/{z}/{x}/{y}.vector.pbf?access_token={token}";

    var mapboxVectorTileOptions = {
        rendererFactory: L.canvas.tile,
        attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, &copy; <a href="https://www.mapbox.com/about/maps/">MapBox</a>',
        vectorTileLayerStyles: vectorTileStyling,
        token: 'pk.eyJ1IjoiaXZhbnNhbmNoZXoiLCJhIjoiY2l6ZTJmd3FnMDA0dzMzbzFtaW10cXh2MSJ9.VsWCS9-EAX4_4W1K-nXnsA'
    };


    var mapboxPbfLayer = L.vectorGrid.protobuf(mapboxUrl, mapboxVectorTileOptions);



    var openmaptilesUrl = "https://free-{s}.tilehosting.com/data/v3/{z}/{x}/{y}.pbf.pict?key={key}";

    var openmaptilesVectorTileOptions = {
        rendererFactory: L.canvas.tile,
        attribution: '<a href="https://openmaptiles.org/">&copy; OpenMapTiles</a>, <a href="http://www.openstreetmap.org/copyright">&copy; OpenStreetMap</a> contributors',
        vectorTileLayerStyles: vectorTileStyling,
        subdomains: '0123',
        key: 'UmmATPUongHdDmIicgs7',
        maxZoom: 14
    };


    var openmaptilesPbfLayer = L.vectorGrid.protobuf(openmaptilesUrl, openmaptilesVectorTileOptions).addTo(map);





    // Assumes layers = "all", and format = "mvt"
    var nextzenTilesUrl = "https://tile.nextzen.org/tilezen/vector/v1/512/all/{z}/{x}/{y}.mvt?api_key={apikey}";

    var nextzenVectorTileOptions = {
        rendererFactory: L.canvas.tile,
        attribution: '<a href="https://nextzen.com/">&copy; NextZen</a>, <a href="http://www.openstreetmap.org/copyright">&copy; OpenStreetMap</a> contributors',
        vectorTileLayerStyles: vectorTileStyling,
        apikey: 'gCZXZglvRQa6sB2z7JzL1w',
    };

    var nextzenTilesPbfLayer = L.vectorGrid.protobuf(nextzenTilesUrl, nextzenVectorTileOptions);




    var esriStyle = {};
    esriStyle.Continent  = vectorTileStyling.earth;
    esriStyle.Bathymetry = vectorTileStyling.water;
    esriStyle["Vegetation small scale"] = vectorTileStyling.landuse;
    esriStyle["Marine area"] = vectorTileStyling.water;
    esriStyle.Land = vectorTileStyling.earth;

    esriStyle["City small scale"             ] = vectorTileStyling.building;
    esriStyle["Admin0 point"                 ] = [];
    esriStyle["Water area small scale"       ] = vectorTileStyling.water;
    esriStyle["Water line small scale/label" ] = [];
    esriStyle["Water line small scale"       ] = vectorTileStyling.water;
    esriStyle["Marine waterbody/label"       ] = [];
    esriStyle["Boundary line"                ] = vectorTileStyling.boundary;
    esriStyle["Admin0 forest or park"        ] = vectorTileStyling.landuse;
    esriStyle["Openspace or forest"          ] = vectorTileStyling.landuse;
    esriStyle["Admin1 area/label"            ] = [];
    esriStyle["Admin2 area/label"            ] = [];
    esriStyle["Admin0 forest or park/label"  ] = [];
    esriStyle["Water area small scale/label" ] = [];
    esriStyle["Road tunnel"                  ] = vectorTileStyling.road;
    esriStyle["Road"                         ] = vectorTileStyling.road;
    esriStyle["Water line medium scale/label"] = [];
    esriStyle["Water line medium scale"      ] = vectorTileStyling.water;
    esriStyle["Urban area"                   ] = vectorTileStyling.landuse;
    esriStyle["Admin1 forest or park"        ] = vectorTileStyling.landuse;
    esriStyle["Water area medium scale/label"] = [];
    esriStyle["Water area medium scale"      ] = vectorTileStyling.water;
    esriStyle["Spot elevation"               ] = [];
    esriStyle["City large scale"             ] = vectorTileStyling.building;
    esriStyle["Admin2 area/label"            ] =
        esriStyle["Water area large scale"       ] = vectorTileStyling.water;
    esriStyle["Water line large scale/label" ] = [];
    esriStyle["Water line large scale"       ] = vectorTileStyling.water;
    esriStyle["Point of interest"            ] = vectorTileStyling.building;
    esriStyle["Road/label"                   ] = [];
    esriStyle["Ferry/label"                  ] = [];
    esriStyle["Ferry"                        ] = vectorTileStyling.water;
    esriStyle["Building"                     ] = vectorTileStyling.building;
    esriStyle["Water area/label"             ] = [];
    esriStyle["Water area"                   ] = vectorTileStyling.water;
    esriStyle["Water line"                   ] = vectorTileStyling.water;
    esriStyle["Cemetery/label"               ] = [];
    esriStyle["Cemetery"                     ] = vectorTileStyling.landuse;
    esriStyle["Retail"                       ] = vectorTileStyling.landuse;
    esriStyle["Airport/label"                ] = [];
    esriStyle["Airport"                      ] = vectorTileStyling.landuse;
    esriStyle["Industry"                     ] = vectorTileStyling.landuse;
    esriStyle["Water area large scale/label" ] = [];
    esriStyle["Road tunnel/label"            ] = [];
    esriStyle["Golf course/label"            ] = [];
    esriStyle["Golf course"                  ] = vectorTileStyling.landuse;
    esriStyle["Industry/label"               ] = [];
    esriStyle["Marine area/label"            ] = [];
    esriStyle["Railroad"                     ] = vectorTileStyling.road;
    esriStyle["Medical"                      ] = vectorTileStyling.landuse;
    esriStyle["Education"                    ] = vectorTileStyling.landuse;
    esriStyle["Park or farming"              ] = vectorTileStyling.landuse;
    esriStyle["Exit"                         ] = vectorTileStyling.road;
    esriStyle["Retail/label"                 ] = [];
    esriStyle["Beach/label"                  ] = [];
    esriStyle["Beach"                        ] = vectorTileStyling.landuse;
    esriStyle["Special area of interest"     ] = vectorTileStyling.housenumber;
    esriStyle["Point of interest"            ] = vectorTileStyling.poi;
    esriStyle["Education/label"              ] = [];
    esriStyle["Landmark"                     ] = vectorTileStyling.landuse;
    esriStyle["Cemetery"                     ] = vectorTileStyling.landuse;
    esriStyle["Transportation"               ] = vectorTileStyling.road;
    esriStyle["Landmark/label"               ] = [];
    esriStyle["Medical/label"                ] = [];
    esriStyle["Park or farming/label"        ] = [];
    esriStyle["Building/label"               ] = [];





    var esriTilesUrl = "https://basemaps.arcgis.com/v1/arcgis/rest/services/World_Basemap/VectorTileServer/tile/{z}/{y}/{x}.pbf";

    var esriVectorTileOptions = {
        rendererFactory: L.canvas.tile,
        attribution: '© ESRI',
        vectorTileLayerStyles: esriStyle,
    };

    var esriTilesPbfLayer = L.vectorGrid.protobuf(esriTilesUrl, esriVectorTileOptions);



    map.setView({ lat: 47.040182144806664, lng: 9.667968750000002 }, 0);


    L.control.layers({
        OpenMapTiles: openmaptilesPbfLayer,
        "MapBox Vector Tiles": mapboxPbfLayer,
        "NextZen Vector Tiles": nextzenTilesPbfLayer,
        "ESRI basemap vector tiles": esriTilesPbfLayer
    }, {}, {collapsed: false}).addTo(map);

 

7.leaflet加载平面坐标系的geojson数据:注意CRS参数的设置

var map = L.map('map', {
      crs: L.CRS.Simple
  });
  //这句话是关键,在加这句话之前图一直出不来,按照网上的设置bounds的方法并不好使!!!!设置缩放级别之后图上显示的大小发生改变
  map.setView([947.39058818, 4000.72975],10);
  L.geoJSON(tunnel_left,{
      style: {
          "color": "#ff7800",
          "weight": 5,
          "opacity": 1
      }
  }).addTo(map);
console.log("map"+map);

 

 

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
以下是使用百度地图最新API加载geojson实现覆盖物的样例代码: ```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>使用百度地图最新API加载geojson实现覆盖物</title> <style type="text/css"> #map{ height: 500px; } </style> <script type="text/javascript" src="http://api.map.baidu.com/api?v=3.0&ak=YourKey"></script> </head> <body> <div id="map"></div> <script type="text/javascript"> // 创建地图实例 var map = new BMap.Map("map"); // 设置中心点和缩放级别 var point = new BMap.Point(116.404, 39.915); map.centerAndZoom(point, 14); // 加载geojson数据 var url = "path/to/your/geojson"; var request = new XMLHttpRequest(); request.open('GET', url, true); request.send(null); request.onreadystatechange = function () { if (request.readyState === 4 && request.status === 200) { var geojson = JSON.parse(request.responseText); // 定义样式函数 function getStyle(feature) { return { strokeColor: "#000000", strokeWeight: 2, fillColor: "#FF0000", fillOpacity: 0.5 }; } // 创建GeoJSON图层并添加到地图中 var geojsonLayer = new BMapGL.GeoJSONLayer({ data: geojson, style: getStyle }); map.addOverlay(geojsonLayer); } }; </script> </body> </html> ``` 其中,`YourKey`需要替换成你的百度地图API密钥,`path/to/your/geojson`需要替换成你的geojson文件路径。在样例代码中,我们使用`XMLHttpRequest`对象加载geojson数据,并创建`BMapGL.GeoJSONLayer`对象将数据添加到地图中,并定义了样式函数`getStyle`来设置覆盖物的样式。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值