Compare commits

..

No commits in common. "057977f401076a5a9b488d6f1261e09ead1d51f1" and "fe7864539317502a94fe47108e0d08da78821b99" have entirely different histories.

3 changed files with 617 additions and 38523 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,8 @@
<template> <template>
<div class="map-center-warp"> <div class="map-center-warp">
<!-- <img :src="getAssetsFile('images/vsualized/gmmap.png')" class="map-img" /> --> <img :src="getAssetsFile('images/vsualized/gmmap.png')" class="map-img" />
<div class="map-pos"> <div class="map-pos">
<custom-echart-maps :chart-data="chartsData.valData" height="100%" width="100%" :option="chartsData.option" :geo="geoData" :name="mapName" /> <custom-echart-maps :chart-data="chartsData.valData" height="100%" :option="chartsData.option" :geo="geoData" :name="mapName" />
</div> </div>
</div> </div>
</template> </template>
@ -43,68 +43,41 @@ const chartsData = reactive({
// saveAsImage: {}, // saveAsImage: {},
}, },
}, },
geo3D: { geo: {
map: mapName.value, map: mapName.value,
roam: true, roam: true,
zoom: 0.9, zoom: 0.9,
show: true, show: false,
zlevel: -2, //
viewControl: {
distance: 110,
alpha: 60,
beta: 0,
minBeta: -360,
maxBeta: 720,
// 使
// rotateSensitivity: 0,
// zoomSensitivity: 0,
// panSensitivity: 0,
},
itemStyle: { itemStyle: {
// normal: {
color: 'rgba(48,160,187,0.8)', // areaColor: '#1f77b4', //
opacity: 1, // [ default: 1 ] borderColor: '#000', //
borderWidth: 1.5, // (线) [ default: 0 ]
borderColor: '#4bffb4', // [ default: #333 ]
},
label: {
show: true,
distance: 0,
color: '#000',
padding: [6, 4, 2, 4],
borderRadius: 4,
backgroundColor: 'rgba(255,255,255,0.2)',
textStyle: {
fontSize: 12,
color: '#E87813', //
borderWidth: 0,
borderColor: '#000',
}, },
}, emphasis: {
emphasis: { areaColor: '#ff7f0e', //
// borderColor: '#fff', //
label: {
show: true,
color: '#fff',
},
itemStyle: {
// show: false,
color: {
type: 'linear', // 线
x: 0,
y: 0,
x2: 0,
y2: 1,
colorStops: [
{ offset: 0, color: '#45bfe9' },
{ offset: 1, color: '#01589c' },
],
global: false, // false
},
}, },
}, },
}, },
series: [ series: [
// {
// name: '',
// type: 'map',
// mapType: mapName.value,
// roam: true,
// zoom: 1.2,
// itemStyle: {
// normal: {
// borderColor: '#000', //
// borderWidth: 1, //
// areaColor: 'transparent', //
// },
// emphasis: {
// borderColor: '#fff',
// borderWidth: 2,
// },
// },
// },
// //
{ {
name: '闪烁散点', name: '闪烁散点',
@ -146,50 +119,20 @@ const chartsData = reactive({
}, },
valData: [ valData: [
{ {
map: mapName.value, name: '镇边界',
type: 'map',
mapType: mapName.value,
roam: true, roam: true,
zoom: 0.9, zoom: 1.2,
show: true,
itemStyle: { itemStyle: {
// normal: {
color: 'rgba(48,160,187,0.8)', // borderColor: '#000', //
opacity: 1, // [ default: 1 ] borderWidth: 1, //
borderWidth: 1.5, // (线) [ default: 0 ] areaColor: 'transparent', //
borderColor: 'rgba(92, 184, 238, 1)', // [ default: #333 ]
},
label: {
show: true,
distance: 0,
color: '#000',
padding: [6, 4, 2, 4],
borderRadius: 4,
backgroundColor: 'rgba(255,255,255,.66)',
textStyle: {
fontSize: 12,
color: '#E87813', //
borderWidth: 0,
borderColor: '#000',
}, },
}, emphasis: {
emphasis: { borderColor: '#fff',
// borderWidth: 2,
label: {
show: true,
color: '#fff',
},
itemStyle: {
// show: false,
color: {
type: 'linear', // 线
x: 0,
y: 0,
x2: 0,
y2: 1,
colorStops: [
{ offset: 0, color: '#45bfe9' },
{ offset: 1, color: '#01589c' },
],
},
}, },
}, },
}, },