map

描述:当前是关于Echarts图表中的 地图 示例。
 
            // 萍乡市地图数据


let pingxiangJSON = {
    "type": "FeatureCollection",
    "features": [{
        "type": "Feature",
        "properties": {
            "adcode": 650202,
            "name": "独山子区",
            "center": [84.882267, 44.327207],
            "centroid": [84.892581, 44.290603],
            "childrenNum": 0,
            "level": "district",
            "parent": {
                "adcode": 650200
            },
            "subFeatureIndex": 0,
            "acroutes": [100000, 650000, 650200]
        },
        "geometry": {
            "type": "MultiPolygon",
            "coordinates": [
                [
                    [
                        [85.113319, 44.343731],
                        [85.115198, 44.334756],
                        [85.113218, 44.327304],
                        [85.113521, 44.319237],
                        [85.111556, 44.310513],
                        [85.108521, 44.309518],
                        [85.10209, 44.311339],
                        [85.088924, 44.313033],
                        [85.065381, 44.317268],
                        [85.04535, 44.316612],
                        [85.041983, 44.317416],
                        [85.020637, 44.316082],
                        [84.99614, 44.310661],
                        [84.9914, 44.308565],
                        [84.986313, 44.303587],
                        [84.978003, 44.299034],
                        [84.967698, 44.296555],
                        [84.968421, 44.291958],
                        [84.964389, 44.287001],
                        [84.959937, 44.278674],
                        [84.959114, 44.270686],
                        [84.95407, 44.262017],
                        [84.941901, 44.25515],
                        [84.939329, 44.252012],
                        [84.937276, 44.24508],
                        [84.938736, 44.239249],
                        [84.935152, 44.225487],
                        [84.934848, 44.207648],
                        [84.931972, 44.200647],
                        [84.920107, 44.184435],
                        [84.917332, 44.179277],
                        [84.903863, 44.177515],
                        [84.895712, 44.1724],
                        [84.87373, 44.169301],
                        [84.862154, 44.168706],
                        [84.857399, 44.17327],
                        [84.85052, 44.173865],
                        [84.838481, 44.170022],
                        [84.835851, 44.164545],
                        [84.832194, 44.163823],
                        [84.830489, 44.16015],
                        [84.822771, 44.160363],
                        [84.816904, 44.163144],
                        [84.807654, 44.163526],
                        [84.797306, 44.161403],
                        [84.785947, 44.153823],
                        [84.761234, 44.139446],
                        [84.757982, 44.136961],
                        [84.742532, 44.129696],
                        [84.737966, 44.126149],
                        [84.732575, 44.128443],
                        [84.740307, 44.14552],
                        [84.746492, 44.151296],
                        [84.762274, 44.169577],
                        [84.768763, 44.178386],
                        [84.78443, 44.210045],
                        [84.792161, 44.224299],
                        [84.791453, 44.2338],
                        [84.795269, 44.249638],
                        [84.798188, 44.258753],
                        [84.795746, 44.267782],
                        [84.796483, 44.276365],
                        [84.793896, 44.287976],
                        [84.792624, 44.297932],
                        [84.784299, 44.306786],
                        [84.78654, 44.316379],
                        [84.785485, 44.323091],
                        [84.783172, 44.325632],
                        [84.779126, 44.343541],
                        [84.777637, 44.381796],
                        [84.778172, 44.390869],
                        [84.872617, 44.388056],
                        [84.893053, 44.387147],
                        [84.937088, 44.385814],
                        [84.938765, 44.385391],
                        [84.974664, 44.38463],
                        [84.996632, 44.378559],
                        [85.034193, 44.367178],
                        [85.075498, 44.355223],
                        [85.113319, 44.343731]
                    ]
                ]
            ]
        }
    }, {
        "type": "Feature",
        "properties": {
            "adcode": 650203,
            "name": "克拉玛依区",
            "center": [84.868918, 45.600477],
            "centroid": [84.944177, 45.255168],
            "childrenNum": 0,
            "level": "district",
            "parent": {
                "adcode": 650200
            },
            "subFeatureIndex": 1,
            "acroutes": [100000, 650000, 650200]
        },
        "geometry": {
            "type": "MultiPolygon",
            "coordinates": [
                [
                    [
                        [84.945789, 45.696922],
                        [84.965241, 45.693221],
                        [84.966166, 45.686482],
                        [84.969302, 45.675109],
                        [84.972496, 45.670891],
                        [84.966802, 45.669443],
                        [84.948217, 45.66692],
                        [84.9455, 45.658522],
                        [84.950413, 45.652978],
                        [84.964793, 45.649751],
                        [84.963724, 45.642882],
                        [84.974433, 45.629348],
                        [84.973638, 45.623015],
                        [85.006112, 45.625312],
                        [85.014769, 45.625188],
                        [85.015752, 45.61844],
                        [85.023383, 45.604963],
                        [85.025464, 45.606081],
                        [85.029077, 45.601671],
                        [85.027285, 45.597985],
                        [85.03545, 45.592683],
                        [85.040928, 45.596535],
                        [85.073373, 45.573379],
                        [85.083446, 45.56708],
                        [85.084819, 45.56478],
                        [85.097306, 45.55386],
                        [85.140128, 45.519696],
                        [85.158164, 45.505697],
                        [85.162572, 45.50159],
                        [85.213126, 45.46177],
                        [85.238504, 45.442046],
                        [85.268724, 45.419179],
                        [85.27741, 45.413009],
                        [85.274881, 45.410558],
                        [85.25248, 45.396033],
                        [85.239501, 45.375559],
                        [85.244979, 45.369758],
                        [85.24232, 45.367596],
                        [85.237955, 45.35855],
                        [85.240715, 45.344407],
                        [85.245803, 45.328971],
                        [85.245369, 45.319565],
                        [85.242681, 45.303664],
                        [85.2394, 45.292797],
                        [85.235787, 45.285593],
                        [85.224327, 45.267995],
                        [85.206493, 45.252704],
                        [85.201926, 45.244203],
                        [85.205625, 45.228927],
                        [85.205914, 45.207287],
                        [85.232564, 45.174249],
                        [85.250398, 45.158369],
                        [85.246684, 45.142945],
                        [85.242002, 45.133425],
                        [85.238605, 45.116093],
                        [85.236683, 45.088247],
                        [85.239111, 45.085447],
                        [85.238461, 45.080223],
                        [85.250326, 45.071737],
                        [85.251584, 45.064275],
                        [85.253549, 45.061411],
                        [85.251598, 45.054115],
                        [85.254575, 45.051502],
                        [85.25787, 45.044476],
                        [85.259633, 45.037449],
                        [85.258434, 45.031572],
                        [85.240846, 45.019712],
                        [85.220352, 45.024712],
                        [85.214268, 45.027975],
                        [85.194989, 45.029606],
                        [85.171706, 45.022682],
                        [85.156025, 44.971031],
                        [85.136428, 44.962655],
                        [85.08479, 44.942758],
                        [85.051536, 44.931822],
                        [85.037228, 44.912165],
                        [85.027126, 44.886589],
                        [85.028557, 44.88097],
                        [85.032054, 44.859638],
                        [85.029872, 44.85026],
                        [85.020608, 44.838551],
                        [85.019943, 44.822662],
                        [85.021547, 44.815945],
                        [85.02649, 44.806685],
                        [85.034887, 44.796815],
                        [85.045885, 44.790158],
                        [85.046766, 44.76978],
                        [85.037214, 44.763792],
                        [85.010405, 44.755281],
                        [85.002152, 44.763456],
                        [84.99471, 44.768078],
                        [84.987483, 44.767091],
                        [84.979997, 44.769843],
                        [84.978812, 44.772008],
                        [84.965184, 44.781924],
                        [84.96027, 44.788435],
                        [84.956859, 44.797761],
                        [84.953896, 44.799966],
                        [84.941323, 44.802402],
                        [84.937378, 44.805845],
                        [84.916812, 44.801625],
                        [84.898241, 44.802885],
                        [84.86094, 44.821319],
                        [84.84945, 44.826483],
                        [84.880783, 44.834669],
                        [84.881129, 44.837103],
                        [84.917173, 44.836872],
                        [84.917072, 44.888539],
                        [84.861561, 44.8994],
                        [84.828942, 44.971575],
                        [84.805255, 45.025716],
                        [84.798737, 45.026699],
                        [84.794965, 45.030338],
                        [84.706387, 45.067202],
                        [84.657394, 45.063481],
                        [84.661658, 45.102872],
                        [84.668624, 45.1543],
                        [84.668884, 45.158536],
                        [84.65605, 45.168094],
                        [84.644257, 45.178379],
                        [84.634921, 45.184095],
                        [84.62242, 45.207412],
                        [84.615584, 45.218504],
                        [84.610641, 45.221527],
                        [84.597909, 45.23149],
                        [84.596579, 45.234762],
                        [84.588876, 45.241431],
                        [84.583731, 45.274264],
                        [84.579294, 45.310741],
                        [84.586347, 45.315216],
                        [84.58772, 45.318899],
                        [84.594094, 45.322728],
                        [84.595495, 45.325517],
                        [84.605019, 45.330781],
                        [84.624342, 45.344719],
                        [84.631626, 45.356117],
                        [84.634488, 45.356907],
                        [84.641251, 45.368885],
                        [84.640774, 45.37402],
                        [84.644792, 45.374519],
                        [84.647365, 45.377554],
                        [84.644951, 45.386431],
                        [84.652293, 45.389756],
                        [84.657264, 45.388239],
                        [84.65092, 45.396407],
                        [84.657712, 45.401997],
                        [84.660921, 45.400044],
                        [84.66491, 45.401706],
                        [84.663464, 45.404864],
                        [84.669072, 45.406735],
                        [84.668768, 45.410163],
                        [84.665271, 45.412054],
                        [84.671326, 45.415461],
                        [84.669722, 45.417372],
                        [84.677989, 45.417476],
                        [84.684492, 45.422981],
                        [84.683148, 45.42539],
                        [84.685591, 45.429067],
                        [84.684232, 45.435754],
                        [84.690374, 45.438537],
                        [84.692571, 45.442566],
                        [84.702428, 45.442399],
                        [84.702572, 45.446345],
                        [84.710723, 45.451784],
                        [84.711691, 45.462351],
                        [84.715883, 45.465527],
                        [84.71649, 45.471193],
                        [84.722834, 45.472459],
                        [84.716215, 45.474825],
                        [84.722169, 45.476465],
                        [84.72902, 45.489579],
                        [84.730711, 45.502316],
                        [84.729598, 45.505075],
                        [84.736043, 45.505946],
                        [84.734743, 45.51138],
                        [84.73811, 45.512853],
                        [84.736564, 45.516772],
                        [84.739743, 45.517187],
                        [84.739483, 45.520754],
                        [84.733485, 45.52345],
                        [84.734454, 45.529919],
                        [84.737171, 45.532904],
                        [84.734309, 45.536739],
                        [84.734844, 45.540471],
                        [84.738601, 45.542709],
                        [84.744267, 45.542771],
                        [84.747388, 45.546938],
                        [84.752837, 45.549984],
                        [84.757563, 45.554751],
                        [84.752533, 45.558792],
                        [84.756782, 45.562916],
                        [84.755713, 45.565754],
                        [84.759976, 45.564407],
                        [84.764442, 45.566873],
                        [84.769732, 45.575719],
                        [84.769284, 45.580629],
                        [84.777276, 45.586139],
                        [84.775975, 45.589908],
                        [84.78362, 45.597591],
                        [84.787291, 45.597322],
                        [84.797191, 45.60196],
                        [84.805718, 45.608234],
                        [84.806252, 45.612168],
                        [84.803362, 45.621794],
                        [84.792234, 45.633177],
                        [84.778865, 45.639613],
                        [84.773677, 45.639281],
                        [84.772145, 45.648654],
                        [84.784661, 45.656102],
                        [84.785528, 45.661046],
                        [84.79206, 45.663755],
                        [84.803174, 45.658026],
                        [84.803983, 45.65364],
                        [84.811152, 45.651034],
                        [84.822858, 45.650496],
                        [84.829651, 45.647248],
                        [84.827468, 45.644351],
                        [84.826861, 45.633363],
                        [84.833047, 45.629079],
                        [84.840244, 45.634398],
                        [84.846314, 45.631625],
                        [84.855188, 45.632121],
                        [84.860492, 45.636488],
                        [84.882314, 45.638661],
                        [84.891708, 45.644185],
                        [84.900076, 45.645344],
                        [84.910222, 45.648923],
                        [84.914182, 45.653909],
                        [84.915381, 45.661046],
                        [84.919948, 45.666217],
                        [84.919702, 45.669422],
                        [84.925411, 45.676598],
                        [84.926639, 45.680672],
                        [84.934993, 45.683215],
                        [84.94047, 45.68795],
                        [84.942291, 45.693408],
                        [84.945789, 45.696922]
                    ]
                ]
            ]
        }
    }, {
        "type": "Feature",
        "properties": {
            "adcode": 650204,
            "name": "白碱滩区",
            "center": [85.129882, 45.689021],
            "centroid": [85.288054, 45.618712],
            "childrenNum": 0,
            "level": "district",
            "parent": {
                "adcode": 650200
            },
            "subFeatureIndex": 2,
            "acroutes": [100000, 650000, 650200]
        },
        "geometry": {
            "type": "MultiPolygon",
            "coordinates": [
                [
                    [
                        [85.210684, 45.825968],
                        [85.277164, 45.789762],
                        [85.326186, 45.734427],
                        [85.342546, 45.735068],
                        [85.441674, 45.7273],
                        [85.535353, 45.719676],
                        [85.543649, 45.720875],
                        [85.593827, 45.692353],
                        [85.602715, 45.687619],
                        [85.591312, 45.653599],
                        [85.595474, 45.648137],
                        [85.596717, 45.641889],
                        [85.592541, 45.638888],
                        [85.580068, 45.627009],
                        [85.573695, 45.619289],
                        [85.567639, 45.617364],
                        [85.56566, 45.61134],
                        [85.568145, 45.608131],
                        [85.564561, 45.60782],
                        [85.566917, 45.604984],
                        [85.565674, 45.601029],
                        [85.553765, 45.595665],
                        [85.552797, 45.593532],
                        [85.547334, 45.593118],
                        [85.543533, 45.588976],
                        [85.54125, 45.575616],
                        [85.531364, 45.560533],
                        [85.511709, 45.548471],
                        [85.501969, 45.53363],
                        [85.492416, 45.513454],
                        [85.461907, 45.486425],
                        [85.434433, 45.459881],
                        [85.421022, 45.454753],
                        [85.410457, 45.4484],
                        [85.388114, 45.436232],
                        [85.350596, 45.427987],
                        [85.313381, 45.42188],
                        [85.30536, 45.418452],
                        [85.287873, 45.422046],
                        [85.283465, 45.421361],
                        [85.27741, 45.413009],
                        [85.268724, 45.419179],
                        [85.238504, 45.442046],
                        [85.213126, 45.46177],
                        [85.162572, 45.50159],
                        [85.158164, 45.505697],
                        [85.140128, 45.519696],
                        [85.097306, 45.55386],
                        [85.084819, 45.56478],
                        [85.083446, 45.56708],
                        [85.073373, 45.573379],
                        [85.040928, 45.596535],
                        [85.03545, 45.592683],
                        [85.027285, 45.597985],
                        [85.029077, 45.601671],
                        [85.025464, 45.606081],
                        [85.023383, 45.604963],
                        [85.015752, 45.61844],
                        [85.014769, 45.625188],
                        [85.006112, 45.625312],
                        [84.973638, 45.623015],
                        [84.974433, 45.629348],
                        [84.963724, 45.642882],
                        [84.964793, 45.649751],
                        [84.950413, 45.652978],
                        [84.9455, 45.658522],
                        [84.948217, 45.66692],
                        [84.966802, 45.669443],
                        [84.972496, 45.670891],
                        [84.969302, 45.675109],
                        [84.966166, 45.686482],
                        [84.965241, 45.693221],
                        [84.945789, 45.696922],
                        [84.948289, 45.700374],
                        [84.956744, 45.705913],
                        [84.959547, 45.70273],
                        [84.958174, 45.708269],
                        [84.961614, 45.709943],
                        [84.969779, 45.706781],
                        [84.974447, 45.708228],
                        [84.971716, 45.710894],
                        [84.978234, 45.713787],
                        [84.996661, 45.718726],
                        [85.006387, 45.719965],
                        [85.008844, 45.71575],
                        [85.016041, 45.714861],
                        [85.017269, 45.718602],
                        [85.023773, 45.721184],
                        [85.032025, 45.718064],
                        [85.035595, 45.718395],
                        [85.059875, 45.713167],
                        [85.071234, 45.718767],
                        [85.080296, 45.721701],
                        [85.086033, 45.727032],
                        [85.099546, 45.733539],
                        [85.110226, 45.735729],
                        [85.117337, 45.739261],
                        [85.125965, 45.745953],
                        [85.129954, 45.745437],
                        [85.131644, 45.749877],
                        [85.138871, 45.755907],
                        [85.138032, 45.758942],
                        [85.145417, 45.758405],
                        [85.146328, 45.761337],
                        [85.151603, 45.764579],
                        [85.152615, 45.767841],
                        [85.156864, 45.768914],
                        [85.153785, 45.771309],
                        [85.158453, 45.771103],
                        [85.159248, 45.77389],
                        [85.154508, 45.775871],
                        [85.161633, 45.781548],
                        [85.164971, 45.785737],
                        [85.172674, 45.788317],
                        [85.176996, 45.78778],
                        [85.183123, 45.78972],
                        [85.177574, 45.790587],
                        [85.19363, 45.802947],
                        [85.201189, 45.806165],
                        [85.197431, 45.812767],
                        [85.204556, 45.815077],
                        [85.208993, 45.818666],
                        [85.210684, 45.825968]
                    ]
                ]
            ]
        }
    }, {
        "type": "Feature",
        "properties": {
            "adcode": 650205,
            "name": "乌尔禾区",
            "center": [85.697767, 46.08776],
            "centroid": [85.584954, 45.977349],
            "childrenNum": 0,
            "level": "district",
            "parent": {
                "adcode": 650200
            },
            "subFeatureIndex": 3,
            "acroutes": [100000, 650000, 650200]
        },
        "geometry": {
            "type": "MultiPolygon",
            "coordinates": [
                [
                    [
                        [85.602715, 45.687619],
                        [85.593827, 45.692353],
                        [85.543649, 45.720875],
                        [85.535353, 45.719676],
                        [85.441674, 45.7273],
                        [85.342546, 45.735068],
                        [85.326186, 45.734427],
                        [85.277164, 45.789762],
                        [85.210684, 45.825968],
                        [85.212432, 45.83036],
                        [85.218719, 45.834917],
                        [85.216349, 45.836443],
                        [85.218835, 45.839907],
                        [85.222722, 45.840608],
                        [85.221913, 45.844917],
                        [85.228359, 45.849226],
                        [85.219615, 45.851287],
                        [85.226885, 45.851246],
                        [85.227998, 45.854091],
                        [85.222361, 45.854936],
                        [85.230729, 45.860872],
                        [85.229602, 45.863572],
                        [85.235903, 45.868353],
                        [85.235036, 45.871135],
                        [85.23716, 45.876575],
                        [85.233287, 45.882962],
                        [85.239747, 45.881335],
                        [85.238923, 45.889616],
                        [85.245297, 45.890358],
                        [85.246684, 45.89285],
                        [85.24232, 45.895487],
                        [85.245499, 45.897505],
                        [85.244242, 45.902243],
                        [85.255269, 45.908503],
                        [85.257697, 45.911839],
                        [85.257914, 45.918716],
                        [85.250572, 45.925407],
                        [85.251786, 45.927301],
                        [85.258781, 45.925387],
                        [85.263434, 45.930348],
                        [85.267886, 45.930163],
                        [85.276268, 45.937264],
                        [85.272814, 45.937922],
                        [85.274779, 45.941051],
                        [85.262943, 45.943212],
                        [85.271036, 45.944714],
                        [85.265747, 45.947616],
                        [85.269923, 45.949365],
                        [85.271123, 45.94634],
                        [85.280069, 45.947513],
                        [85.276615, 45.954386],
                        [85.272684, 45.951896],
                        [85.261613, 45.952143],
                        [85.270559, 45.955456],
                        [85.265747, 45.959961],
                        [85.268999, 45.960764],
                        [85.272944, 45.957122],
                        [85.275488, 45.958192],
                        [85.269981, 45.96352],
                        [85.267828, 45.967573],
                        [85.270632, 45.967306],
                        [85.273016, 45.961772],
                        [85.276355, 45.959612],
                        [85.282352, 45.961525],
                        [85.288422, 45.96747],
                        [85.284882, 45.971276],
                        [85.273681, 45.973086],
                        [85.272019, 45.970391],
                        [85.268608, 45.975081],
                        [85.258651, 45.976171],
                        [85.259128, 45.978166],
                        [85.266137, 45.982094],
                        [85.265602, 45.984932],
                        [85.261368, 45.984212],
                        [85.265154, 45.988325],
                        [85.279505, 45.988346],
                        [85.286023, 45.990628],
                        [85.284087, 45.994843],
                        [85.289463, 45.992664],
                        [85.293423, 45.993815],
                        [85.293495, 45.99766],
                        [85.289289, 45.9984],
                        [85.28676, 46.004444],
                        [85.291082, 46.005575],
                        [85.293394, 46.009481],
                        [85.282338, 46.009625],
                        [85.274476, 46.006911],
                        [85.284607, 46.013057],
                        [85.279144, 46.01353],
                        [85.285821, 46.016243],
                        [85.28293, 46.016921],
                        [85.283696, 46.020395],
                        [85.280358, 46.019881],
                        [85.283089, 46.02395],
                        [85.277612, 46.022922],
                        [85.279173, 46.029293],
                        [85.275647, 46.031902],
                        [85.270978, 46.03219],
                        [85.267943, 46.041353],
                        [85.27173, 46.045441],
                        [85.264619, 46.047865],
                        [85.265992, 46.051254],
                        [85.263333, 46.05339],
                        [85.269172, 46.055239],
                        [85.266267, 46.056882],
                        [85.268233, 46.061831],
                        [85.27517, 46.068792],
                        [85.276037, 46.074911],
                        [85.280242, 46.074541],
                        [85.277178, 46.079284],
                        [85.282179, 46.080926],
                        [85.281008, 46.084293],
                        [85.282945, 46.090841],
                        [85.296689, 46.097223],
                        [85.30828, 46.098229],
                        [85.318656, 46.102518],
                        [85.325232, 46.119568],
                        [85.330796, 46.121127],
                        [85.337415, 46.125722],
                        [85.341144, 46.125886],
                        [85.36051, 46.129742],
                        [85.365785, 46.134029],
                        [85.375251, 46.137597],
                        [85.377723, 46.142417],
                        [85.389516, 46.146271],
                        [85.390325, 46.143216],
                        [85.394979, 46.140304],
                        [85.394877, 46.1377],
                        [85.408636, 46.13368],
                        [85.411787, 46.128778],
                        [85.419374, 46.128102],
                        [85.422958, 46.131199],
                        [85.430806, 46.131486],
                        [85.436124, 46.138684],
                        [85.433017, 46.146005],
                        [85.437988, 46.150229],
                        [85.449825, 46.153366],
                        [85.452036, 46.152812],
                        [85.47026, 46.158368],
                        [85.479611, 46.161996],
                        [85.482212, 46.166936],
                        [85.487675, 46.167203],
                        [85.50483, 46.174888],
                        [85.506348, 46.177388],
                        [85.52437, 46.182839],
                        [85.531841, 46.188228],
                        [85.538692, 46.18913],
                        [85.545961, 46.193862],
                        [85.557523, 46.198041],
                        [85.567914, 46.197734],
                        [85.582655, 46.202282],
                        [85.583132, 46.204944],
                        [85.594564, 46.207095],
                        [85.603004, 46.20644],
                        [85.607513, 46.210618],
                        [85.618656, 46.212154],
                        [85.630666, 46.20945],
                        [85.650465, 46.210802],
                        [85.65311, 46.205395],
                        [85.660033, 46.201708],
                        [85.660119, 46.199762],
                        [85.679876, 46.19083],
                        [85.701164, 46.193104],
                        [85.741933, 46.192674],
                        [85.764811, 46.193002],
                        [85.791447, 46.192879],
                        [85.806867, 46.186077],
                        [85.813848, 46.178147],
                        [85.817027, 46.17952],
                        [85.830121, 46.181282],
                        [85.838604, 46.180011],
                        [85.842203, 46.182286],
                        [85.854516, 46.179868],
                        [85.863014, 46.185093],
                        [85.879345, 46.182655],
                        [85.90533, 46.181528],
                        [85.926922, 46.16792],
                        [85.989992, 46.126461],
                        [85.993142, 46.123897],
                        [85.998562, 46.108551],
                        [86.004877, 46.103277],
                        [86.003418, 46.097223],
                        [86.009488, 46.091846],
                        [86.013014, 46.081952],
                        [86.016425, 46.076615],
                        [86.022798, 46.072488],
                        [86.024301, 46.06795],
                        [86.004776, 46.059141],
                        [85.988272, 46.055464],
                        [85.979283, 46.052589],
                        [85.962489, 46.044784],
                        [85.961448, 46.030751],
                        [85.952083, 46.01836],
                        [85.952141, 46.006377],
                        [85.954627, 46.001279],
                        [85.946216, 45.995214],
                        [85.935897, 45.991266],
                        [85.939597, 45.98193],
                        [85.931923, 45.975307],
                        [85.93831, 45.969527],
                        [85.942935, 45.967079],
                        [85.943903, 45.964261],
                        [85.940103, 45.962286],
                        [85.93055, 45.964961],
                        [85.928194, 45.967141],
                        [85.920635, 45.969383],
                        [85.918771, 45.967511],
                        [85.911646, 45.967306],
                        [85.908987, 45.962183],
                        [85.897035, 45.964158],
                        [85.903567, 45.960249],
                        [85.902975, 45.957328],
                        [85.895156, 45.958418],
                        [85.891471, 45.95455],
                        [85.88027, 45.952945],
                        [85.875862, 45.95062],
                        [85.875024, 45.946052],
                        [85.881542, 45.942944],
                        [85.886571, 45.943726],
                        [85.887352, 45.939301],
                        [85.879808, 45.939692],
                        [85.881441, 45.93572],
                        [85.870645, 45.933003],
                        [85.867234, 45.92551],
                        [85.858592, 45.923843],
                        [85.852825, 45.925984],
                        [85.848143, 45.921454],
                        [85.839717, 45.921846],
                        [85.836466, 45.918243],
                        [85.837159, 45.915278],
                        [85.83265, 45.909409],
                        [85.822794, 45.906361],
                        [85.821623, 45.902037],
                        [85.815307, 45.899709],
                        [85.813617, 45.894745],
                        [85.810509, 45.895096],
                        [85.802286, 45.889925],
                        [85.798283, 45.884466],
                        [85.791288, 45.883065],
                        [85.791042, 45.879995],
                        [85.786042, 45.880819],
                        [85.780593, 45.875318],
                        [85.777992, 45.875998],
                        [85.773324, 45.870311],
                        [85.769147, 45.870352],
                        [85.764161, 45.866952],
                        [85.76325, 45.863737],
                        [85.755721, 45.860192],
                        [85.755432, 45.856276],
                        [85.751544, 45.857327],
                        [85.745012, 45.851349],
                        [85.733667, 45.847783],
                        [85.731947, 45.841804],
                        [85.725284, 45.841062],
                        [85.722062, 45.838773],
                        [85.723651, 45.836423],
                        [85.71563, 45.83502],
                        [85.708361, 45.830092],
                        [85.707653, 45.827432],
                        [85.695903, 45.82308],
                        [85.693099, 45.817181],
                        [85.684385, 45.814314],
                        [85.684356, 45.812375],
                        [85.676306, 45.80959],
                        [85.659411, 45.802245],
                        [85.642285, 45.789184],
                        [85.643615, 45.784251],
                        [85.647763, 45.782683],
                        [85.642921, 45.778782],
                        [85.642806, 45.775644],
                        [85.621358, 45.763051],
                        [85.616806, 45.742917],
                        [85.614118, 45.72261],
                        [85.612297, 45.713973],
                        [85.602715, 45.687619]
                    ]
                ]
            ]
        }
    }]
}
echarts.registerMap('QN', pingxiangJSON);

option = {
    tooltip: { // 指示器
        show: true,
        backgroundColor: 'opacity',
          trigger: 'item',
        formatter: function (params) {
            if (typeof (params.value)[1] == "undefined") {
                 const resultTooltip =
               `'<div style=\'background:  rgba(255,255,255,0.86);padding:8px 4px;border: 1px solid rgba(119,119,119,0.20);border-radius: 2px;box-shadow: 2px 3px 10px 0 rgba(119,119,119,0.20);\'>' +
                '<div style=\'text-align:left;font-size: 14px;color: #222222;;letter-spacing: 0;padding-left:8px;\'> ${params.name}</div>
                '<div style=\'padding:4px 8px 8px 8px;\'>
                '<div style=\'font-size: 12px;color: #57595D;letter-spacing: 0;\'>总数:<span style=\'font-size: 14px;color:#4065E0;letter-spacing: 0;\'>
                 ${params.value} 家</span> </div>
                '<div style=\'font-size: 12px;color: #57595D;letter-spacing: 0;\'> ${params.name}:<span style=\'font-size: 14px;color: #4065E0;letter-spacing: 0;\'>
                 ${params.value} 家</span></div>
                '<div style=\'font-size: 12px;color: #57595D;letter-spacing: 0;\'> ${params.name}:<span style=\'font-size: 14px;color: #4065E0;letter-spacing: 0;\'>
                 ${params.value} 家</span></div>
                '<div style=\'font-size: 12px;color: #57595D;letter-spacing: 0;\'> ${params.name}:<span style=\'font-size: 14px;color: #4065E0;letter-spacing: 0;\'>
                 ${params.value} 家</span></div>
                '</div>' +
                '</div>' `
            return resultTooltip
            } else {
                return `
                    ${params.name}  <br/>
                    产品:${params.data.product} <br/>
                    规模:${params.data.scale} 吨
                `;
            }
        }
    },
    visualMap: {
        show: false,
        min: 0,
        max: 500,
        left: 26,
        bottom: 20,
        showLabel: true,
        text: ["高", "低"],
        seriesIndex: [1],
        pieces: [{
            gt: 100,
            label: "> 120 家",
            color: "#F9BF32"
        }, {
            gte: 50,
            lte: 100,
            label: "100 家",
            color: "#4B92EC"
        }, {
            gte: 1,
            lt: 50,
            label: "<50 家",
            color: "#54B6F6"
        }, {
            value: 0,
            color: "#2A46D4"
        }],
        textStyle: {
            color: "#fff"
        }
    },
    geo: {
        show: true,
        map: 'QN',
        zoom: 1.2, //默认显示级别
        scaleLimit: {
            min: 0,
            max: 3
        }, // 缩放级别
        label: {
            normal: {
                show: true,
                position: 'outside',
                fontSize: 12,
                formatter: function(params) {
                    return params.name
                },
                color: '#fff',
            },
            emphasis: { // 悬浮得样式
                show: false,
                textStyle: {
                    color: "#fff"
                },
            },

        },
        roam: true,
        itemStyle: { // 整个一块
            normal: {
                areaColor: 'transparent',
                borderColor: '#FFFFFF',
                borderWidth: 1,
                shadowBlur: 10,
                        shadowColor: '#1D284C',
                        shadowOffsetX: 2,
                        shadowOffsetY:15,
            },
            // 鼠标移入
            emphasis: {
                borderColor: "#fff",
                borderWidth: 2,
            }
        },

    },
    series: [{
            type: 'effectScatter',
            coordinateSystem: 'geo',
            data: [{
                    name: '莲花县1',
                    value: [85.697767, 46.08776],
                    product: '200',
                    scale: '20',
                },
            ],
            symbolSize: '10',
            showEffectOn: 'render',
            rippleEffect: {
                scale: 3,
                brushType: 'stroke'
            },
            hoverAnimation: true,
            // 散点样式
            itemStyle: {
                normal: {
                    color: '#FFFFFF',
                    shadowBlur: 10,
                    shadowColor: '#FFFFFF'
                }
            },
            zlevel: 1
        },
        {
            type: 'map',
            // map: '萍乡',
            geoIndex: 0,
            roam: true,
            mapType: 'QN', // 自定义扩展图表类型
            zoom: 2, //默认显示级别geo
            scaleLimit: {
                min: 0,
                max: 3
            }, // 缩放级别
            itemStyle: {
                normal: {
                    areaColor: '#031525',
                    borderColor: '#3B5077',
                },
                emphasis: {
                    areaColor: '#2B91B7'
                }
            },
            animation: false,
            data: [{
                    name: '克拉玛依区',
                    value: 122
                },
                {
                    name: '白碱滩区',
                    value: 100
                },
                {
                    name: '乌尔禾区',
                    value: 20
                },
                {
                    name: '独山子区',
                    value: 0
                },

            ]
        },

    ]
}

myChart.setOption(option);