EchartMap 地图
TIP
1.1.0+
<!-- 导入需要的包 -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/echarts/4.2.1/echarts.min.js"></script>
<avue-echart-map ref="echart" :option="option" :data="data" width="1000"></avue-echart-map>
<script>
export default {
data() {
return {
option: {
"borderWidth": 3,
"scale": 87,
"type": 0,
"borderColor": "#0dffff",
"areaColor": "#061d33",
"banner": true,
"bannerTime": 3000,
"fontSize": 39,
"zoom": 1,
"empAreaColor": "rgba(35, 183, 229, 0.42)",
"empColor": "#fff",
"color": "rgba(13, 255, 255, 1)",
"mapKey": 3,
mapList: {
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
118.9409,
36.76501
],
[
118.94773,
36.76342
],
[
118.94792,
36.76112
],
[
118.95553,
36.76016
],
[
118.96072,
36.76102
],
[
118.96073,
36.75423
],
[
118.96519,
36.75248
],
[
118.96472,
36.74916
],
[
118.96835,
36.75041
],
[
118.97171,
36.74781
],
[
118.9712,
36.74676
],
[
118.96838,
36.74664
],
[
118.96273,
36.73717
],
[
118.95747,
36.7367
],
[
118.95745,
36.73851
],
[
118.94881,
36.73727
],
[
118.9468,
36.73193
],
[
118.94665,
36.72187
],
[
118.95204,
36.72092
],
[
118.95327,
36.71941
],
[
118.9512,
36.70959
],
[
118.95833,
36.70576
],
[
118.95717,
36.68946
],
[
118.96187,
36.6815
],
[
118.95683,
36.67293
],
[
118.94582,
36.66136
],
[
118.9459,
36.66002
],
[
118.95008,
36.65676
],
[
118.95018,
36.6527
],
[
118.94809,
36.64741
],
[
118.94448,
36.64514
],
[
118.94245,
36.63857
],
[
118.94342,
36.63687
],
[
118.94983,
36.6348
],
[
118.94819,
36.62674
],
[
118.94306,
36.62553
],
[
118.94198,
36.62181
],
[
118.94741,
36.61657
],
[
118.96191,
36.61562
],
[
118.96468,
36.61282
],
[
118.96106,
36.60852
],
[
118.96416,
36.60401
],
[
118.9691,
36.60653
],
[
118.98041,
36.6013
],
[
118.98947,
36.60425
],
[
118.99385,
36.6122
],
[
118.9961,
36.61285
],
[
119.00196,
36.6123
],
[
119.00682,
36.6097
],
[
119.00735,
36.61086
],
[
119.01435,
36.61076
],
[
119.01404,
36.60316
],
[
119.0121,
36.60312
],
[
119.01162,
36.59787
],
[
119.01243,
36.59523
],
[
119.01744,
36.59513
],
[
119.01967,
36.58899
],
[
119.0265,
36.58851
],
[
119.02741,
36.58951
],
[
119.02701,
36.59512
],
[
119.03785,
36.59485
],
[
119.03814,
36.5966
],
[
119.05908,
36.59654
],
[
119.06002,
36.58655
],
[
119.06579,
36.58869
],
[
119.07068,
36.58182
],
[
119.07275,
36.58243
],
[
119.07573,
36.57623
],
[
119.07537,
36.56946
],
[
119.07188,
36.5688
],
[
119.09167,
36.56614
],
[
119.10147,
36.56897
],
[
119.10472,
36.56051
],
[
119.10784,
36.56135
],
[
119.11312,
36.56038
],
[
119.11539,
36.55794
],
[
119.11667,
36.55463
],
[
119.11638,
36.54562
],
[
119.11384,
36.53249
],
[
119.11674,
36.52899
],
[
119.11753,
36.52282
],
[
119.12106,
36.52142
],
[
119.13746,
36.50917
],
[
119.13846,
36.50471
],
[
119.14263,
36.5051
],
[
119.15503,
36.50999
],
[
119.1549,
36.51208
],
[
119.16166,
36.51096
],
[
119.16332,
36.51362
],
[
119.1669,
36.51354
],
[
119.16849,
36.50772
],
[
119.1697,
36.50799
],
[
119.16991,
36.50609
],
[
119.17447,
36.50318
],
[
119.17499,
36.49873
],
[
119.17348,
36.4969
],
[
119.17155,
36.49684
],
[
119.17111,
36.49522
],
[
119.17151,
36.49406
],
[
119.17441,
36.49408
],
[
119.1752,
36.49288
],
[
119.17676,
36.48911
],
[
119.17669,
36.48232
],
[
119.17981,
36.47758
],
[
119.17131,
36.47592
],
[
119.17015,
36.47367
],
[
119.16468,
36.47317
],
[
119.16479,
36.47175
],
[
119.16291,
36.47259
],
[
119.16266,
36.47478
],
[
119.16644,
36.47527
],
[
119.16089,
36.47843
],
[
119.15827,
36.47852
],
[
119.15714,
36.47641
],
[
119.15456,
36.47712
],
[
119.15414,
36.47494
],
[
119.14601,
36.47201
],
[
119.14499,
36.47353
],
[
119.1468,
36.47548
],
[
119.14609,
36.47751
],
[
119.14178,
36.47711
],
[
119.13987,
36.47521
],
[
119.14091,
36.47278
],
[
119.13881,
36.47309
],
[
119.14275,
36.46261
],
[
119.14114,
36.45971
],
[
119.13869,
36.4598
],
[
119.1375,
36.46429
],
[
119.1298,
36.4675
],
[
119.12536,
36.46765
],
[
119.12049,
36.46556
],
[
119.12088,
36.46221
],
[
119.11949,
36.46239
],
[
119.11675,
36.46713
],
[
119.11053,
36.46642
],
[
119.10773,
36.46187
],
[
119.10618,
36.46388
],
[
119.10347,
36.46417
],
[
119.10266,
36.46265
],
[
119.09828,
36.46249
],
[
119.09835,
36.46088
],
[
119.10164,
36.46084
],
[
119.10081,
36.45401
],
[
119.0989,
36.4479
],
[
119.09338,
36.44774
],
[
119.09213,
36.44584
],
[
119.09132,
36.4418
],
[
119.09497,
36.43544
],
[
119.09068,
36.42909
],
[
119.09013,
36.43054
],
[
119.08644,
36.43077
],
[
119.08195,
36.43799
],
[
119.07879,
36.43715
],
[
119.08023,
36.4352
],
[
119.07879,
36.43297
],
[
119.06566,
36.43339
],
[
119.06515,
36.43747
],
[
119.06255,
36.43867
],
[
119.06053,
36.4428
],
[
119.05302,
36.44514
],
[
119.04704,
36.43966
],
[
119.04223,
36.43903
],
[
119.03775,
36.44049
],
[
119.03347,
36.43843
],
[
119.03358,
36.43572
],
[
119.03015,
36.43557
],
[
119.02676,
36.43249
],
[
119.0268,
36.4305
],
[
119.02173,
36.42939
],
[
119.01653,
36.42534
],
[
119.01489,
36.42744
],
[
119.01203,
36.42672
],
[
119.01035,
36.42557
],
[
119.0112,
36.42391
],
[
118.99764,
36.41933
],
[
118.99861,
36.41749
],
[
119.00381,
36.41526
],
[
119.00511,
36.41255
],
[
119.00824,
36.41218
],
[
119.00952,
36.40977
],
[
119.01155,
36.40993
],
[
119.01191,
36.40877
],
[
119.00848,
36.40512
],
[
119.00864,
36.40327
],
[
119.01394,
36.40288
],
[
119.01545,
36.39938
],
[
119.01726,
36.39919
],
[
119.0171,
36.39554
],
[
119.0123,
36.39537
],
[
119.01042,
36.39301
],
[
119.00647,
36.3946
],
[
119.00493,
36.39306
],
[
119.0091,
36.38763
],
[
119.01106,
36.3875
],
[
119.01177,
36.39013
],
[
119.01218,
36.38365
],
[
119.01514,
36.38365
],
[
119.0148,
36.37576
],
[
119.0134,
36.37572
],
[
119.01645,
36.36986
],
[
119.01753,
36.36203
],
[
119.01533,
36.35751
],
[
119.00936,
36.35102
],
[
119.00086,
36.3455
],
[
118.97168,
36.34166
],
[
118.95216,
36.34376
],
[
118.94188,
36.34243
],
[
118.92912,
36.33635
],
[
118.91595,
36.3335
],
[
118.88015,
36.33084
],
[
118.87541,
36.33138
],
[
118.85817,
36.3414
],
[
118.8494,
36.34342
],
[
118.84104,
36.34759
],
[
118.83545,
36.35198
],
[
118.83251,
36.35717
],
[
118.82658,
36.35973
],
[
118.82058,
36.36002
],
[
118.81661,
36.35812
],
[
118.81105,
36.35808
],
[
118.80747,
36.35441
],
[
118.80494,
36.35366
],
[
118.80065,
36.35457
],
[
118.8038,
36.3485
],
[
118.80366,
36.34492
],
[
118.80321,
36.34365
],
[
118.80025,
36.34327
],
[
118.79858,
36.33937
],
[
118.79904,
36.33754
],
[
118.79294,
36.33046
],
[
118.79288,
36.32658
],
[
118.7953,
36.32326
],
[
118.79144,
36.31588
],
[
118.79126,
36.31383
],
[
118.7935,
36.31343
],
[
118.7929,
36.30864
],
[
118.78534,
36.31092
],
[
118.77311,
36.30109
],
[
118.76887,
36.30018
],
[
118.76838,
36.29918
],
[
118.77433,
36.29808
],
[
118.77399,
36.2928
],
[
118.77093,
36.29183
],
[
118.7687,
36.29272
],
[
118.76597,
36.28833
],
[
118.75913,
36.28486
],
[
118.75765,
36.28212
],
[
118.75527,
36.28257
],
[
118.74847,
36.28723
],
[
118.74975,
36.29588
],
[
118.75138,
36.29833
],
[
118.7427,
36.29906
],
[
118.7304,
36.30337
],
[
118.73122,
36.30468
],
[
118.736,
36.30413
],
[
118.73863,
36.3072
],
[
118.73866,
36.30972
],
[
118.74326,
36.31048
],
[
118.74341,
36.31227
],
[
118.74599,
36.31453
],
[
118.74233,
36.32262
],
[
118.74257,
36.33022
],
[
118.73774,
36.32999
],
[
118.7382,
36.33706
],
[
118.73653,
36.34395
],
[
118.72769,
36.3492
],
[
118.72945,
36.34966
],
[
118.73017,
36.35339
],
[
118.72334,
36.35432
],
[
118.72287,
36.35718
],
[
118.72566,
36.35993
],
[
118.74893,
36.36328
],
[
118.7475,
36.36591
],
[
118.74576,
36.36631
],
[
118.74767,
36.36874
],
[
118.74409,
36.37065
],
[
118.74255,
36.37314
],
[
118.74174,
36.37929
],
[
118.73737,
36.38724
],
[
118.73765,
36.38987
],
[
118.73356,
36.39337
],
[
118.73346,
36.39485
],
[
118.7437,
36.39609
],
[
118.75124,
36.39271
],
[
118.75205,
36.39491
],
[
118.76003,
36.39307
],
[
118.76163,
36.39331
],
[
118.76193,
36.39787
],
[
118.76573,
36.39703
],
[
118.78248,
36.38631
],
[
118.78776,
36.37766
],
[
118.80148,
36.3713
],
[
118.80538,
36.37519
],
[
118.80428,
36.38276
],
[
118.79875,
36.38964
],
[
118.79917,
36.39363
],
[
118.80506,
36.39798
],
[
118.81044,
36.39788
],
[
118.80794,
36.40523
],
[
118.80561,
36.40631
],
[
118.80559,
36.41071
],
[
118.80624,
36.41175
],
[
118.8086,
36.41007
],
[
118.80891,
36.41287
],
[
118.80616,
36.41464
],
[
118.80601,
36.41617
],
[
118.81165,
36.42397
],
[
118.8161,
36.42447
],
[
118.81881,
36.42203
],
[
118.81977,
36.42358
],
[
118.82655,
36.42344
],
[
118.82775,
36.43112
],
[
118.8251,
36.4422
],
[
118.79717,
36.44483
],
[
118.78316,
36.44889
],
[
118.77963,
36.45242
],
[
118.7752,
36.47569
],
[
118.77,
36.4944
],
[
118.77112,
36.50078
],
[
118.78418,
36.52151
],
[
118.7851,
36.52997
],
[
118.78361,
36.54881
],
[
118.78189,
36.5555
],
[
118.77193,
36.56883
],
[
118.75446,
36.5774
],
[
118.75735,
36.58756
],
[
118.77186,
36.61537
],
[
118.77247,
36.6236
],
[
118.77016,
36.62939
],
[
118.76993,
36.63765
],
[
118.77636,
36.6627
],
[
118.77612,
36.6705
],
[
118.77378,
36.67583
],
[
118.76447,
36.68888
],
[
118.76302,
36.6979
],
[
118.76002,
36.69878
],
[
118.75787,
36.70146
],
[
118.75427,
36.70153
],
[
118.75288,
36.69625
],
[
118.73101,
36.6985
],
[
118.73098,
36.70142
],
[
118.72569,
36.70128
],
[
118.72574,
36.70349
],
[
118.72473,
36.70352
],
[
118.72618,
36.7211
],
[
118.74822,
36.73585
],
[
118.75282,
36.73546
],
[
118.75627,
36.73942
],
[
118.7566,
36.74164
],
[
118.76023,
36.74144
],
[
118.76067,
36.74453
],
[
118.76202,
36.74535
],
[
118.7669,
36.74495
],
[
118.77143,
36.74206
],
[
118.78354,
36.74512
],
[
118.7871,
36.74117
],
[
118.78672,
36.73849
],
[
118.78791,
36.7377
],
[
118.80598,
36.73574
],
[
118.80741,
36.73918
],
[
118.80996,
36.7386
],
[
118.80969,
36.73591
],
[
118.81534,
36.73553
],
[
118.81493,
36.73306
],
[
118.8172,
36.73261
],
[
118.81756,
36.73538
],
[
118.82286,
36.73512
],
[
118.82381,
36.74145
],
[
118.82868,
36.74161
],
[
118.8296,
36.75813
],
[
118.83113,
36.76016
],
[
118.83643,
36.76175
],
[
118.83627,
36.76501
],
[
118.84846,
36.76504
],
[
118.8507,
36.76359
],
[
118.85227,
36.76741
],
[
118.85567,
36.76695
],
[
118.85988,
36.76935
],
[
118.86047,
36.76524
],
[
118.86468,
36.76314
],
[
118.86428,
36.7594
],
[
118.86634,
36.75917
],
[
118.8701,
36.76455
],
[
118.87221,
36.77349
],
[
118.8742,
36.77385
],
[
118.87939,
36.77275
],
[
118.88488,
36.76837
],
[
118.88584,
36.76602
],
[
118.88514,
36.7634
],
[
118.87963,
36.75735
],
[
118.88337,
36.75461
],
[
118.88642,
36.75452
],
[
118.88615,
36.7529
],
[
118.906,
36.7509
],
[
118.90599,
36.75283
],
[
118.91731,
36.75328
],
[
118.91718,
36.75039
],
[
118.93048,
36.74885
],
[
118.93122,
36.74161
],
[
118.93233,
36.73951
],
[
118.93472,
36.73942
],
[
118.93529,
36.74411
],
[
118.9392,
36.74415
],
[
118.94067,
36.74776
],
[
118.93912,
36.74849
],
[
118.93934,
36.75028
],
[
118.93719,
36.75033
],
[
118.93752,
36.75322
],
[
118.93517,
36.75368
],
[
118.93462,
36.75626
],
[
118.93594,
36.76117
],
[
118.93852,
36.76118
],
[
118.9387,
36.76425
],
[
118.94086,
36.76405
],
[
118.9409,
36.76501
]
]
]
},
"properties": {
"name": "昌乐县",
"adcode": "370725",
"telecode": "0536",
"level": "district",
"parent": {
"name": "潍坊市",
"level": "city",
"adcode": "370700",
"center": {
"crs": {
"type": "name",
"properties": {
"name": "urn:ogc:def:crs:EPSG:6.3:4326"
}
},
"type": "Point",
"coordinates": [
119.107078,
36.70925
]
}
},
"center": {
"lng": 118.839995,
"lat": 36.703253
}
}
}]
}
},
data: [{
"name": "测试坐标",
"value": 1,
"lng": 118.836486,
"lat": 36.653518,
"zoom": 1
}]
}
}
}
</script>