From b9346c0dad8727fce46482c5ed29009717a902d0 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 25 九月 2024 14:20:39 +0800 Subject: [PATCH] 标线调整 --- src/views/screen/components/map3.vue | 55 ++++++++++++++++++++++++++++++++----------------------- 1 files changed, 32 insertions(+), 23 deletions(-) diff --git a/src/views/screen/components/map3.vue b/src/views/screen/components/map3.vue index 29513dd..7dc001e 100644 --- a/src/views/screen/components/map3.vue +++ b/src/views/screen/components/map3.vue @@ -26,22 +26,22 @@ dotData: [ { name: '鑷祦浜曞尯', - value: [104.645471408, 29.150000, 300], + value: [104.641171408, 29.120000, 300], platformOnline: true }, { name: '楂樻柊鍖�', - value: [104.780000, 29.22, 300], + value: [104.780000, 29.19, 300], platformOnline: true }, { name: '澶у畨鍖�', - value: [104.90805, 29.275946, 300], + value: [104.90805, 29.235946, 300], platformOnline: true }, { name: '娌挎哗鍖�', - value: [104.78804, 29.130594, 300], + value: [104.75804, 29.100594, 300], platformOnline: true }, { @@ -64,7 +64,7 @@ { name: '鑷祦浜曞尯', number: '0', - value: [104.490471408, 28.960000, 300] + value: [104.490471408, 28.860000, 300] }, { name: '楂樻柊鍖�', @@ -79,7 +79,7 @@ { name: '娌挎哗鍖�', number: '0', - value: [104.760237686031, 28.8500000, 300] + value: [104.760237686031, 28.7800000, 300] }, { name: '璐′簳鍖�', @@ -159,10 +159,10 @@ type: 'map', map: name, left: '-5%', - top: '5%', - boxWidth: 90, - regionHeight: 1, - zlevel: 5, + top: '10%', + // boxWidth: 100, + regionHeight: 0.8, + zlevel: 10, tooltip: { show: true, @@ -215,10 +215,11 @@ rotateSensitivity: 0, // 鏃嬭浆 minBeta: -13, maxBeta: -13, + distance: 130, zoomSensitivity: 0, // 缂╂斁 panSensitivity: 0, // 骞崇Щ center: [0, 0, 0], - alpha: 40, // 鍊炬枩瑙掑害 + alpha: 30, // 鍊炬枩瑙掑害 animationDurationUpdate: 1000, // 杩囨浮鍔ㄧ敾鐨勬椂闀� animationEasingUpdate: 'cubicInOut' // 杩囨浮鍔ㄧ敾鐨勭紦鍔ㄦ晥鏋� }, @@ -251,11 +252,11 @@ name: name, type: 'map3D', map: name, - boxWidth: 90, - regionHeight: 1, + // boxWidth: 100, + regionHeight: 0.8, left: '-5%', - top: '5%', - zlevel: 10, + top: '10%', + zlevel: 5, // tooltip: { // show: true, @@ -289,10 +290,11 @@ rotateSensitivity: 0, // 鏃嬭浆 minBeta: -13, maxBeta: -13, + distance: 130, zoomSensitivity: 0, // 缂╂斁 panSensitivity: 0, // 骞崇Щ center: [0, 0, 0], - alpha: 40 // 鍊炬枩瑙掑害 + alpha: 30 // 鍊炬枩瑙掑害 } }, { @@ -327,46 +329,53 @@ opacity: 1 }, data: [ + // 鑷祦浜曠嚎 { coords: [ - [104.645471408, 29.150000, 300], - [104.525471408, 28.960000, 430] + [104.641171408, 29.120000, 300], + [104.525471408, 28.860000, 430] ] }, + // 楂樻柊鍖虹嚎 { coords: [ - [104.779193, 29.22148885792289, 300], + [104.780000, 29.19, 300], [104.780237686031, 29.39548885792289, 430] ] }, + // 澶у畨鍖虹嚎 { coords: [ - [104.90805, 29.275946, 300], + [104.90805, 29.235946, 300], [105.106237686031, 29.22948885792289, 430] ] }, + // 娌挎哗鍖虹嚎 { coords: [ - [104.78804, 29.130594, 300], - [104.776237686031, 28.85048885792289, 430] + [104.75804, 29.100594, 300], + [104.776237686031, 28.78048885792289, 430] ] }, + // 璐′簳鍖虹嚎 { coords: [ [104.559106, 29.161427, 300], [104.356237686031, 29.00048885792289, 430] ] }, + // 鑽e幙绾� { coords: [ [104.3234, 29.2838, 300], [104.456237686031, 29.39048885792289, 430] ] }, + // 瀵岄『绾� { coords: [ [104.950000, 29.04, 300], - [105.05, 28.983, 430] + [105.08, 28.985, 430] ] } ], -- Gitblit v1.8.0