Toggle navigation
宁波站点图
By
司***1
2018-08-30 16:25:41
脚本
16
21
作品使用的第三方脚本
数据管理
上传数据
支持小于 5M 任意格式(csv, xlsx, json, xml, ...)的数据文件
上传后可以通过生成的文件链接异步获取托管的数据。
历史数据
0 条
无历史数据
代码修改记录
信息提示
保存作品
对当前截图不满意?你还可以
上传本地截图
重新截图
作品名称
作品描述
标签
geo
grid
legend
markLine
markPoint
bar
effectScatter
line
lines
map
timeline
title
toolbox
tooltip
visualMap
作品默认版本
最新
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
20:11:45
图表已生成
整理代码
刷新
代码
/** 此版本通过设置geoindex && seriesIndex: [1] 属性来实现geo和map共存,来达到hover散点和区域显示tooltip的效果 默认情况下,map series 会自己生成内部专用的 geo 组件。但是也可以用这个 geoIndex 指定一个 geo 组件。这样的话,map 和 其他 series(例如散点图)就可以共享一个 geo 组件了。并且,geo 组件的颜色也可以被这个 map series 控制,从而用 visualMap 来更改。 当设定了 geoIndex 后,series-map.map 属性,以及 series-map.itemStyle 等样式配置不再起作用,而是采用 geo 中的相应属性。 http://echarts.baidu.com/option.html#series-map.geoIndex 并且加了pin气泡图标以示数值大小 */ var geoJson = { "type": "FeatureCollection", "features": [{ "type": "Feature", "properties": { "name": "北仑区" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [121.907345, 29.7538430000001], [121.910767851563, 29.7416506171876], [121.919537382813, 29.7504201484375], [121.907345, 29.7538430000001] ] ], [ [ [122.153922148438, 29.9060353828125], [122.145152617188, 29.8972658515626], [122.157345, 29.893843], [122.153922148438, 29.9060353828125] ] ], [ [ [121.997345, 29.9038430000001], [121.982896757813, 29.9293971992188], [121.954928007813, 29.9582888007813], [121.921763945313, 29.9168752265625], [121.811803007813, 29.9482741523438], [121.801422148438, 29.9612404609375], [121.757345, 29.973843], [121.740704375, 29.970483625], [121.713985625, 29.947202375], [121.690704375, 29.940483625], [121.683985625, 29.9272023750001], [121.650704375, 29.910483625], [121.647345, 29.9038430000001], [121.6610559375, 29.8915920234375], [121.682144804688, 29.8584328437501], [121.7305871875, 29.8714064765626], [121.751500273438, 29.8479982734375], [121.772628203125, 29.8291237617187], [121.782061796875, 29.8185622382812], [121.867345, 29.743843], [121.879049101563, 29.7607936835938], [121.907345, 29.7538430000001], [121.91408328125, 29.7671633125], [121.947345, 29.783843], [121.947345, 29.7938430000001], [121.957345, 29.7938430000001], [121.957345, 29.803843], [121.967345, 29.803843], [121.967345, 29.813843], [121.987345, 29.813843], [121.992906523438, 29.826841046875], [122.010069609375, 29.8178493476563], [121.987345, 29.813843], [121.987345, 29.803843], [121.967345, 29.803843], [121.967345, 29.7938430000001], [121.957345, 29.7938430000001], [121.957345, 29.783843], [121.947345, 29.783843], [121.950704375, 29.7772023750001], [121.983985625, 29.7704836250001], [121.997345, 29.763843], [122.023472929688, 29.8098024726563], [122.021646757813, 29.8325368476563], [122.13271609375, 29.87847190625], [122.135792265625, 29.90847190625], [122.0580090625, 29.88718284375], [122.032105742188, 29.8892629218751], [122.017345, 29.883843], [122.013922148438, 29.8716506171875], [122.005152617188, 29.8804201484376], [122.017345, 29.883843], [122.025123320313, 29.9155104804688], [121.984439726563, 29.8803029609375], [121.975030546875, 29.8990431953125], [121.997345, 29.9038430000001] ], [ [121.925152617188, 29.8972658515626], [121.933922148438, 29.9060353828125], [121.937345, 29.893843], [121.925152617188, 29.8972658515626] ] ] ] } }, { "type": "Feature", "properties": { "name": "慈溪市" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [121.077345, 30.2538430000001], [121.065152617188, 30.2504201484375], [121.073922148438, 30.2416506171875], [121.077345, 30.2538430000001] ] ], [ [ [121.077345, 30.2538430000001], [121.092594023438, 30.2424977851563], [121.103018828125, 30.1795998359375], [121.13205203125, 30.1679323554687], [121.191163359375, 30.1781081367188], [121.229766875, 30.1630812812501], [121.211612578125, 30.1495778632813], [121.203077421875, 30.1381081367188], [121.16923953125, 30.1181813789063], [121.196866484375, 30.0810451484375], [121.2522278125, 30.0679616523438], [121.302345, 30.0765895820313], [121.367345, 30.0654006171876], [121.39291140625, 30.0698024726563], [121.405875273438, 30.0523732734375], [121.417345, 30.043843], [121.417345, 30.053843], [121.477345, 30.053843], [121.477345, 30.043843], [121.512110625, 30.0598073554688], [121.596881132813, 30.0397731757813], [121.611612578125, 30.0595778632813], [121.617345, 30.0638430000001], [121.61271609375, 30.0792140937501], [121.557511015625, 30.1570754218751], [121.529722929688, 30.1694753242188], [121.46623171875, 30.2431667304688], [121.36197390625, 30.3084719062501], [121.32220828125, 30.3366652656251], [121.23197390625, 30.3484719062501], [121.22271609375, 30.3867775703126], [121.237345, 30.453843], [121.164888945313, 30.4348513007813], [121.08240359375, 30.3996804023438], [121.0460559375, 30.373520734375], [121.037345, 30.343843], [121.04849734375, 30.3349123359375], [121.093292265625, 30.2789064765625], [121.077345, 30.2538430000001] ] ] ] } }, { "type": "Feature", "properties": { "stroke": "#555555", "stroke-width": 2, "stroke-opacity": 1, "fill": "#555555", "fill-opacity": 0.5, "name": "奉化区" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [121.577345, 29.533843], [121.595548125, 29.5414870429688], [121.612491484375, 29.5376882148438], [121.656392851563, 29.5512966132813], [121.68431765625, 29.5450368476563], [121.681051054688, 29.5596169257813], [121.70326296875, 29.5679274726563], [121.715513945313, 29.5856740546875], [121.751329375, 29.6104030585938], [121.757345, 29.633843], [121.649776640625, 29.6279543281251], [121.612345, 29.6294387031251], [121.587345, 29.6284474921875], [121.569644804688, 29.6291481757813], [121.552535429688, 29.65085471875], [121.577413359375, 29.6978713203126], [121.526500273438, 29.7099977851563], [121.474703398438, 29.7079445625], [121.457720976563, 29.77925315625], [121.441011992188, 29.7785915351563], [121.413839140625, 29.7492678046875], [121.381339140625, 29.7339284492188], [121.252213164063, 29.7390456367188], [121.202218046875, 29.7285866523438], [121.192345, 29.7392385078126], [121.187345, 29.733843], [121.181905546875, 29.7275270820313], [121.112388945313, 29.6782399726563], [121.076827421875, 29.6980812812501], [121.0522278125, 29.7000588203125], [121.047345, 29.6838430000001], [121.062296171875, 29.673520734375], [121.07142703125, 29.6379274726563], [121.109068632813, 29.623843], [121.10107546875, 29.5881716132813], [121.113643828125, 29.5794924140626], [121.107345, 29.553843], [121.220719023438, 29.53483909375], [121.223096953125, 29.5187599921875], [121.211593046875, 29.4589260078126], [121.213082304688, 29.4488430000001], [121.20990359375, 29.4273073554688], [121.227345, 29.4138430000001], [121.243819609375, 29.418071515625], [121.26326296875, 29.4479274726563], [121.275797148438, 29.481430890625], [121.300230742188, 29.4759548164063], [121.327017851563, 29.4933986640625], [121.36435671875, 29.4850295234375], [121.39033328125, 29.5226564765625], [121.422345, 29.5154811835938], [121.443013945313, 29.5201149726563], [121.447345, 29.513843], [121.47423953125, 29.517759015625], [121.4686340625, 29.5357619453126], [121.503531523438, 29.5476564765626], [121.513077421875, 29.5631471992188], [121.5214075, 29.5059352851563], [121.552261992188, 29.530923078125], [121.573194609375, 29.5162233710938], [121.564346953125, 29.5394045234376], [121.57334109375, 29.556567609375], [121.577345, 29.533843] ] ] ] } }, { "type": "Feature", "properties": { "name": "江北区" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [121.485855742188, 29.9897658515625], [121.47029421875, 30.02464378125], [121.477345, 30.043843], [121.477345, 30.053843], [121.417345, 30.053843], [121.417345, 30.043843], [121.414346953125, 30.0368410468751], [121.400343046875, 30.030844953125], [121.394014921875, 29.9843849921876], [121.380914335938, 29.993139875], [121.374346953125, 29.966841046875], [121.354429960938, 29.95831565625], [121.384346953125, 29.950844953125], [121.387345, 29.9438430000001], [121.4026965625, 29.9513210273438], [121.425601835938, 29.9335671210938], [121.44330203125, 29.9415187812501], [121.45947390625, 29.9108132148438], [121.49521609375, 29.9268727851563], [121.507345, 29.9038430000001], [121.523326445313, 29.9117873359375], [121.530704375, 29.8972023750001], [121.543985625, 29.8904836250001], [121.550704375, 29.877202375], [121.557345, 29.8738430000001], [121.571749296875, 29.8947096992188], [121.607345, 29.9038430000001], [121.637345, 29.9038430000001], [121.63271609375, 29.90921409375], [121.620328398438, 29.9198854804687], [121.601998320313, 29.9184133125001], [121.59271609375, 29.93921409375], [121.522974882813, 29.9892946601563], [121.507345, 29.9880397773438], [121.485855742188, 29.9897658515625] ] ] ] } }, { "type": "Feature", "properties": { "name": "宁海县" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [121.807345, 29.253843], [121.807345, 29.2638430000001], [121.817345, 29.2638430000001], [121.807345, 29.283843], [121.797345, 29.283843], [121.797345, 29.253843], [121.807345, 29.253843] ] ], [ [ [121.587345, 29.4938430000001], [121.577345, 29.4938430000001], [121.577345, 29.4838430000001], [121.587345, 29.4838430000001], [121.587345, 29.4938430000001] ] ], [ [ [121.533922148438, 29.4960353828125], [121.525152617188, 29.4872658515625], [121.537345, 29.4838430000001], [121.533922148438, 29.4960353828125] ] ], [ [ [121.587345, 29.4938430000001], [121.599537382813, 29.4972658515625], [121.590767851563, 29.5060353828126], [121.587345, 29.4938430000001] ] ], [ [ [121.517345, 29.4138430000001], [121.51125125, 29.4289992500001], [121.530640898438, 29.460327375], [121.507955351563, 29.4981081367188], [121.493077421875, 29.4781081367188], [121.481612578125, 29.4695778632813], [121.46353640625, 29.4240895820313], [121.4381653125, 29.4095778632813], [121.443277617188, 29.4392580390625], [121.426749296875, 29.4659621406251], [121.443077421875, 29.4781081367188], [121.455172148438, 29.4943679023438], [121.447345, 29.513843], [121.443013945313, 29.5201149726563], [121.422345, 29.5154811835938], [121.39033328125, 29.5226564765625], [121.36435671875, 29.4850295234375], [121.327017851563, 29.4933986640625], [121.300230742188, 29.4759548164063], [121.275797148438, 29.481430890625], [121.26326296875, 29.4479274726563], [121.243819609375, 29.418071515625], [121.227345, 29.4138430000001], [121.22361453125, 29.3620754218751], [121.187486601563, 29.3437966132813], [121.195269804688, 29.3278517890626], [121.187345, 29.323843], [121.1933215625, 29.3086452460938], [121.17154421875, 29.2792726875], [121.173160429688, 29.2683303046875], [121.153350859375, 29.2530397773438], [121.17170046875, 29.20819846875], [121.22338015625, 29.199419171875], [121.261026640625, 29.1486452460937], [121.247345, 29.1138430000001], [121.26326296875, 29.1097585273438], [121.282345, 29.0973317695313], [121.301900664063, 29.110063703125], [121.313013945313, 29.1075710273438], [121.32142703125, 29.1197585273438], [121.344215117188, 29.1354909492188], [121.341124296875, 29.1492897773438], [121.355235625, 29.1709572578126], [121.349859648438, 29.1949245429688], [121.378375273438, 29.2013161445312], [121.40142703125, 29.1679274726563], [121.437345, 29.163843], [121.472711210938, 29.158032453125], [121.492579375, 29.1700173164063], [121.502345, 29.1573659492188], [121.521207304688, 29.181801984375], [121.527345, 29.203843], [121.515152617188, 29.2072658515626], [121.523922148438, 29.2160353828125], [121.527345, 29.203843], [121.537345, 29.203843], [121.537345, 29.2238430000001], [121.577345, 29.2238430000001], [121.577345, 29.253843], [121.557345, 29.253843], [121.557345, 29.2638430000001], [121.545152617188, 29.2672658515625], [121.553922148438, 29.2760353828126], [121.557345, 29.2638430000001], [121.593170195313, 29.2596681953125], [121.6336340625, 29.1840651679688], [121.700015898438, 29.1696681953125], [121.734283476563, 29.1914235664063], [121.755767851563, 29.1871779609375], [121.78468875, 29.2685817695313], [121.777345, 29.273843], [121.762628203125, 29.2794997382813], [121.751827421875, 29.2781569648438], [121.732896757813, 29.3493971992188], [121.721793242188, 29.3682888007813], [121.712345, 29.4119533515625], [121.673287382813, 29.407094953125], [121.619234648438, 29.4503224921875], [121.602345, 29.4482204414062], [121.592345, 29.4494655585938], [121.581890898438, 29.4481642890626], [121.572896757813, 29.4593971992188], [121.567345, 29.463843], [121.55406375, 29.45712425], [121.537266875, 29.423921125], [121.498546171875, 29.38948753125], [121.483878203125, 29.4081569648437], [121.517345, 29.4138430000001] ], [ [121.515152617188, 29.2672658515625], [121.523922148438, 29.2760353828126], [121.527345, 29.2638430000001], [121.515152617188, 29.2672658515625] ] ] ] } }, { "type": "Feature", "properties": { "name": "象山县" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [122.233922148438, 28.8660353828126], [122.225152617188, 28.8572658515626], [122.237345, 28.853843], [122.233922148438, 28.8660353828126] ] ], [ [ [122.023922148438, 29.0360353828125], [122.015152617188, 29.0272658515625], [122.027345, 29.023843], [122.023922148438, 29.0360353828125] ] ], [ [ [122.041158476563, 29.1600295234375], [122.067017851563, 29.168843], [122.04048953125, 29.1778835273438], [122.046632109375, 29.19761253125], [122.033756132813, 29.2076564765626], [122.017047148438, 29.1586232734375], [122.037345, 29.153843], [122.041158476563, 29.1600295234375] ] ], [ [ [121.957345, 29.213843], [121.971295195313, 29.2238430000001], [121.957345, 29.233843], [121.957345, 29.213843] ] ], [ [ [122.007345, 29.233843], [121.97439578125, 29.2295607734375], [122.000260039063, 29.2203932929688], [122.007345, 29.233843] ] ], [ [ [122.007345, 29.233843], [122.019537382813, 29.2372658515626], [122.010767851563, 29.2460353828126], [122.007345, 29.233843] ] ], [ [ [121.79334109375, 29.3065676093751], [121.784346953125, 29.2894045234375], [121.797345, 29.283843], [121.79334109375, 29.3065676093751] ] ], [ [ [121.787345, 29.323843], [121.797345, 29.323843], [121.797345, 29.3338430000001], [121.787345, 29.3338430000001], [121.787345, 29.323843] ] ], [ [ [121.97334109375, 29.356567609375], [121.964346953125, 29.3394045234375], [121.977345, 29.3338430000001], [121.97334109375, 29.356567609375] ] ], [ [ [122.223922148438, 29.3860353828125], [122.215152617188, 29.3772658515625], [122.227345, 29.3738430000001], [122.223922148438, 29.3860353828125] ] ], [ [ [122.011910429688, 29.4165407539063], [121.994346953125, 29.407895734375], [122.017345, 29.403843], [122.011910429688, 29.4165407539063] ] ], [ [ [122.191910429688, 29.4265407539063], [122.174346953125, 29.417895734375], [122.197345, 29.4138430000001], [122.191910429688, 29.4265407539063] ] ], [ [ [122.204835234375, 29.4566603828125], [122.193804960938, 29.4389064765625], [122.217345, 29.433843], [122.204835234375, 29.4566603828125] ] ], [ [ [122.183922148438, 29.4660353828126], [122.175152617188, 29.4572658515625], [122.187345, 29.4538430000001], [122.183922148438, 29.4660353828126] ] ], [ [ [121.993922148438, 29.4860353828125], [121.985152617188, 29.4772658515625], [121.997345, 29.473843], [121.993922148438, 29.4860353828125] ] ], [ [ [121.983922148438, 29.5160353828125], [121.975152617188, 29.5072658515626], [121.987345, 29.503843], [121.983922148438, 29.5160353828125] ] ], [ [ [121.977345, 29.553843], [121.980767851563, 29.5416506171875], [121.989537382813, 29.5504201484376], [121.977345, 29.553843] ] ], [ [ [122.063922148438, 29.5860353828126], [122.055152617188, 29.5772658515625], [122.067345, 29.573843], [122.063922148438, 29.5860353828126] ] ], [ [ [122.02334109375, 29.626567609375], [122.014346953125, 29.6094045234376], [122.027345, 29.6038430000001], [122.02334109375, 29.626567609375] ] ], [ [ [122.003922148438, 29.6360353828125], [121.995152617188, 29.6272658515626], [122.007345, 29.623843], [122.003922148438, 29.6360353828125] ] ], [ [ [121.977345, 29.553843], [121.984185820313, 29.5979494453125], [121.97197390625, 29.60847190625], [121.947178984375, 29.6372487617188], [121.912667265625, 29.6400221992188], [121.90271609375, 29.6284719062501], [121.796363554688, 29.6043093085938], [121.77345828125, 29.5777272773438], [121.74271609375, 29.5512404609375], [121.754249296875, 29.5477907539063], [121.772345, 29.5492458320313], [121.787345, 29.5480397773438], [121.807916289063, 29.549692609375], [121.843355742188, 29.5390212226563], [121.830225859375, 29.5277101875001], [121.80412234375, 29.4692140937501], [121.75271609375, 29.4840138984375], [121.76197390625, 29.5092140937501], [121.77365359375, 29.5301540351563], [121.752066679688, 29.5284181953125], [121.7245715625, 29.5437599921875], [121.69197390625, 29.52921409375], [121.642056914063, 29.49382346875], [121.587345, 29.4838430000001], [121.577345, 29.4838430000001], [121.567345, 29.463843], [121.572896757813, 29.4593971992188], [121.581890898438, 29.4481642890626], [121.592345, 29.4494655585938], [121.602345, 29.4482204414062], [121.619234648438, 29.4503224921875], [121.673287382813, 29.407094953125], [121.712345, 29.4119533515625], [121.721793242188, 29.3682888007813], [121.732896757813, 29.3493971992188], [121.751827421875, 29.2781569648438], [121.762628203125, 29.2794997382813], [121.777345, 29.273843], [121.780704375, 29.3104836250001], [121.787345, 29.323843], [121.774537382813, 29.328843], [121.787345, 29.3338430000001], [121.783985625, 29.3504836250001], [121.763985625, 29.3606008125], [121.7920715625, 29.377202375], [121.80787234375, 29.3550270820313], [121.797345, 29.3338430000001], [121.839371367188, 29.3309889960938], [121.809888945313, 29.3012990546875], [121.807345, 29.283843], [121.817345, 29.2638430000001], [121.817345, 29.253843], [121.807345, 29.253843], [121.797345, 29.253843], [121.797345, 29.213843], [121.807345, 29.213843], [121.807345, 29.2238430000001], [121.817345, 29.2238430000001], [121.820767851563, 29.2360353828126], [121.829537382813, 29.2272658515625], [121.817345, 29.2238430000001], [121.817345, 29.213843], [121.807345, 29.213843], [121.802345, 29.2010353828126], [121.797345, 29.213843], [121.79170046875, 29.2094875312501], [121.778858671875, 29.178110578125], [121.821378203125, 29.1452907539063], [121.791749296875, 29.1496706367188], [121.78298953125, 29.1167214179688], [121.802413359375, 29.1195925117188], [121.83170046875, 29.1142580390625], [121.780533476563, 29.0786769843751], [121.80298953125, 29.06948753125], [121.834303007813, 29.0505983710938], [121.829303007813, 29.0844142890626], [121.86298953125, 29.09819846875], [121.889400664063, 29.1141335273437], [121.90170046875, 29.09819846875], [121.91298953125, 29.08948753125], [121.92170046875, 29.0781984687501], [121.933160429688, 29.0693556953125], [121.9315246875, 29.058286359375], [121.949425078125, 29.04948753125], [121.96170046875, 29.07948753125], [121.984561796875, 29.088843], [121.960611601563, 29.0986452460938], [121.975811796875, 29.1103786445312], [121.971607695313, 29.138843], [121.97312625, 29.14913596875], [121.967345, 29.163843], [121.957345, 29.163843], [121.957345, 29.173843], [121.945152617188, 29.1772658515625], [121.953922148438, 29.1860353828125], [121.957345, 29.173843], [121.967345, 29.173843], [121.967345, 29.163843], [121.979185820313, 29.1698342109375], [121.964293242188, 29.200327375], [121.957345, 29.203843], [121.957345, 29.193843], [121.937345, 29.193843], [121.918287382813, 29.1662429023438], [121.887345, 29.173843], [121.894366484375, 29.158169171875], [121.881158476563, 29.1500295234375], [121.872686796875, 29.1251735664063], [121.863531523438, 29.1400295234375], [121.823531523438, 29.1494509101563], [121.856749296875, 29.1693874335938], [121.887345, 29.173843], [121.897564726563, 29.1870851875001], [121.937345, 29.193843], [121.937345, 29.203843], [121.957345, 29.203843], [121.957345, 29.213843], [121.943394804688, 29.2238430000001], [121.957345, 29.233843], [121.962511015625, 29.2523928046875], [121.993721953125, 29.2764821601563], [121.988424101563, 29.29819846875], [121.971832304688, 29.2767018867188], [121.933599882813, 29.2823513007813], [121.92298953125, 29.3150441718751], [121.960094023438, 29.3436818671875], [121.9151575, 29.3370412421875], [121.9332434375, 29.399067609375], [121.921173125, 29.419077375], [121.93599734375, 29.4305202460938], [121.961832304688, 29.4267018867188], [121.97170046875, 29.4394875312501], [121.983160429688, 29.4483303046876], [121.98093875, 29.4633498359376], [121.96170046875, 29.47819846875], [121.95298953125, 29.50948753125], [121.938961210938, 29.5203151679688], [121.956265898438, 29.5781984687501], [121.97170046875, 29.55819846875], [121.977345, 29.553843] ], [ [121.817345, 29.1838430000001], [121.805152617188, 29.1872658515625], [121.813922148438, 29.1960353828125], [121.829537382813, 29.1804201484375], [121.820767851563, 29.1716506171876], [121.817345, 29.1838430000001] ] ] ] } }, { "type": "Feature", "properties": { "name": "余姚市" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [121.077345, 30.2538430000001], [121.093292265625, 30.2789064765625], [121.04849734375, 30.3349123359375], [121.037345, 30.343843], [121.01326296875, 30.3279274726563], [120.949595976563, 30.3115895820313], [120.91326296875, 30.2879274726563], [120.88142703125, 30.2797585273438], [120.867345, 30.273843], [120.871793242188, 30.2582888007813], [120.928736601563, 30.1628493476563], [120.932965117188, 30.128843], [120.930865507813, 30.1119362617188], [120.941793242188, 30.0982888007813], [120.962896757813, 30.0893971992188], [120.971793242188, 30.0682888007813], [120.982896757813, 30.0493971992188], [120.994117460938, 30.0227712226563], [121.031793242188, 30.0082888007813], [121.091793242188, 29.99530784375], [121.081842070313, 29.976274640625], [121.041793242188, 29.9593971992188], [121.032896757813, 29.9282888007813], [121.016031523438, 29.8844118476563], [121.051954375, 29.8581716132813], [121.069249296875, 29.8603249335938], [121.094381132813, 29.8402028632813], [121.091724882813, 29.818843], [121.093824492188, 29.8019362617188], [121.068428984375, 29.7702223945313], [121.052345, 29.7682204414063], [121.021319609375, 29.7720803046876], [121.023013945313, 29.75847190625], [121.007345, 29.733843], [121.012154570313, 29.7286525703126], [121.022740507813, 29.7188430000001], [121.012154570313, 29.7090334296876], [121.002535429688, 29.6886525703126], [120.982760039063, 29.6703298164063], [121.047345, 29.6838430000001], [121.0522278125, 29.7000588203125], [121.076827421875, 29.6980812812501], [121.112388945313, 29.6782399726563], [121.181905546875, 29.7275270820313], [121.187345, 29.733843], [121.153385039063, 29.7391945625], [121.145865507813, 29.7727370429688], [121.17564578125, 29.8158620429687], [121.22326296875, 29.8479274726563], [121.243258085938, 29.8829592109376], [121.28326296875, 29.8979274726563], [121.304459257813, 29.9117311835938], [121.322345, 29.9077223945313], [121.332789335938, 29.910063703125], [121.357935820313, 29.8936916328125], [121.37298953125, 29.9339333320313], [121.387345, 29.9438430000001], [121.384346953125, 29.950844953125], [121.354429960938, 29.95831565625], [121.374346953125, 29.966841046875], [121.380914335938, 29.993139875], [121.394014921875, 29.9843849921876], [121.400343046875, 30.030844953125], [121.414346953125, 30.0368410468751], [121.417345, 30.043843], [121.405875273438, 30.0523732734375], [121.39291140625, 30.0698024726563], [121.367345, 30.0654006171876], [121.302345, 30.0765895820313], [121.2522278125, 30.0679616523438], [121.196866484375, 30.0810451484375], [121.16923953125, 30.1181813789063], [121.203077421875, 30.1381081367188], [121.211612578125, 30.1495778632813], [121.229766875, 30.1630812812501], [121.191163359375, 30.1781081367188], [121.13205203125, 30.1679323554687], [121.103018828125, 30.1795998359375], [121.092594023438, 30.2424977851563], [121.073922148438, 30.2416506171875], [121.065152617188, 30.2504201484375], [121.077345, 30.2538430000001] ] ] ] } }, { "type": "Feature", "properties": { "name": "镇海区" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [121.63427859375, 30.0507741523438], [121.617345, 30.0638430000001], [121.611612578125, 30.0595778632813], [121.596881132813, 30.0397731757813], [121.512110625, 30.0598073554688], [121.477345, 30.043843], [121.47029421875, 30.02464378125], [121.485855742188, 29.9897658515625], [121.507345, 29.9880397773438], [121.522974882813, 29.9892946601563], [121.59271609375, 29.93921409375], [121.601998320313, 29.9184133125001], [121.620328398438, 29.9198854804687], [121.63271609375, 29.90921409375], [121.637345, 29.9038430000001], [121.647345, 29.9038430000001], [121.650704375, 29.910483625], [121.683985625, 29.9272023750001], [121.690704375, 29.940483625], [121.713985625, 29.947202375], [121.740704375, 29.970483625], [121.757345, 29.973843], [121.75298953125, 29.9794875312501], [121.67968875, 29.991938703125], [121.63427859375, 30.0507741523438] ] ] ] } }, { "type": "Feature", "properties": { "stroke": "#555555", "stroke-width": 2, "stroke-opacity": 1, "fill": "#555555", "fill-opacity": 0.5, "name": "海曙区" }, "geometry": { "type": "Polygon", "coordinates": [ [ [121.35807037353514, 29.894233962948572], [121.3333511352539, 29.909114981750598], [121.32167816162108, 29.907924582041158], [121.30451202392578, 29.911198147008825], [121.28356933593749, 29.897507977777785], [121.24237060546876, 29.88232754785252], [121.2234878540039, 29.84808868523699], [121.17507934570311, 29.81651898367315], [121.14624023437499, 29.773317865665174], [121.15310668945312, 29.740234065755185], [121.1857223510742, 29.734868096264623], [121.19224548339842, 29.740830266865924], [121.20288848876955, 29.729501839707396], [121.25164031982422, 29.739637861100015], [121.37969970703124, 29.73427185971159], [121.41162872314453, 29.74887863492848], [121.43875122070311, 29.780171701275535], [121.45111083984375, 29.780469683486622], [121.45523071289061, 29.786727105051625], [121.46278381347656, 29.7938779650257], [121.4710235595703, 29.79030259890392], [121.47377014160155, 29.795069725346764], [121.48200988769531, 29.79358002272772], [121.4864730834961, 29.80251790576445], [121.50226593017578, 29.795069725346764], [121.49883270263673, 29.80877394878207], [121.51119232177733, 29.812944426728677], [121.51737213134766, 29.815625356417822], [121.5087890625, 29.827539729697882], [121.52080535888672, 29.83051810110794], [121.5204620361328, 29.84064389983441], [121.52870178222656, 29.84302629154662], [121.53110504150392, 29.85315082227617], [121.54140472412108, 29.854937397596693], [121.55616760253906, 29.872503684960794], [121.53247833251953, 29.895424526240554], [121.52320861816408, 29.910007772196387], [121.50569915771484, 29.903460456429993], [121.49471282958983, 29.925779083720517], [121.45660400390624, 29.911793329079817], [121.4432144165039, 29.941250395079216], [121.42501831054686, 29.932919987870804], [121.40304565429688, 29.951067479461585], [121.3714599609375, 29.93381256486232], [121.35807037353514, 29.894233962948572] ] ] } }, { "type": "Feature", "properties": { "stroke": "#555555", "stroke-width": 2, "stroke-opacity": 1, "fill": "#555555", "fill-opacity": 0.5, "name": "鄞州区" }, "geometry": { "type": "Polygon", "coordinates": [ [ [121.453857421875, 29.780171701275535], [121.47411346435547, 29.709524917923563], [121.5262985229492, 29.711612244998225], [121.57642364501952, 29.69759650228319], [121.55410766601564, 29.650763783036943], [121.57024383544922, 29.630771207229], [121.75666809082033, 29.63435225887697], [121.78756713867189, 29.66597935109997], [121.83734893798827, 29.6889475151537], [121.88575744628906, 29.717277628313493], [121.90498352050781, 29.752157414471654], [121.88026428222655, 29.759310743027445], [121.86756134033202, 29.74351312800087], [121.73091888427733, 29.87012199671886], [121.68148040771483, 29.857021695057888], [121.64680480957033, 29.902865224567265], [121.60835266113281, 29.902269989148344], [121.57264709472656, 29.893341031146107], [121.54312133789062, 29.85463963726372], [121.53419494628905, 29.851959754299266], [121.52389526367188, 29.83945268266779], [121.52561187744139, 29.833496383743192], [121.51393890380858, 29.82694404476336], [121.52080535888672, 29.814135959909486], [121.50157928466797, 29.806390740438808], [121.5036392211914, 29.7938779650257], [121.48853302001953, 29.800432471139974], [121.47891998291014, 29.79238824466504], [121.47308349609374, 29.78851486794351], [121.46381378173827, 29.79298413547051], [121.453857421875, 29.780171701275535] ] ] } }] } var data=[{ name: "1", value: [121.907345, 29.7538430000001, 120], itemStyle:{ normal:{ color:"#6cd888" } } }]; echarts.registerMap('ningbo', geoJson); option = { backgroundColor: '#020933', geo: { show: true, map: 'ningbo', left:0, right:0, label: { normal: { show: false }, emphasis: { show: false, } }, roam: false, silent: true, itemStyle: { normal: { areaColor: 'transparent', borderColor: '#3fdaff', borderWidth: 2, shadowColor: 'rgba(63, 218, 255, 0.5)', shadowBlur: 30 }, emphasis: { areaColor: '#2B91B7', } } }, series: [{ name: 'light', type: 'effectScatter', coordinateSystem: 'geo', data: data, "height": "90%", "width": "80%", "top": 10, "left": "2%" } ] }; myChart.setOption(option);