From c970b15f10ec8300b4b1ffd3a54bf5aef162df40 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期一, 02 十二月 2024 17:44:20 +0800 Subject: [PATCH] 字体 --- src/views/screen/components/map3.vue | 33 +++++++++++++++++++-------------- 1 files changed, 19 insertions(+), 14 deletions(-) diff --git a/src/views/screen/components/map3.vue b/src/views/screen/components/map3.vue index 6a314ae..980033a 100644 --- a/src/views/screen/components/map3.vue +++ b/src/views/screen/components/map3.vue @@ -36,12 +36,12 @@ }, { name: '澶у畨鍖�', - value: [104.93805, 29.175946, 300], + value: [104.95805, 29.155946, 300], platformOnline: true }, { name: '娌挎哗鍖�', - value: [104.78804, 29.100594, 300], + value: [104.80804, 29.100594, 300], platformOnline: true }, { @@ -64,7 +64,7 @@ { name: '鑷祦浜曞尯', number: '0', - value: [104.841471408, 29.860000, 300] + value: [104.821471408, 29.950000, 300] }, { name: '楂樻柊鍖�', @@ -74,12 +74,12 @@ { name: '澶у畨鍖�', number: '0', - value: [105.17337686031, 29.57948885792289, 300] + value: [105.25337686031, 29.57948885792289, 300] }, { name: '娌挎哗鍖�', number: '0', - value: [105.36237686031, 30.30048885792289, 300] + value: [105.30237686031, 30.20048885792289, 300] }, { name: '璐′簳鍖�', @@ -160,6 +160,8 @@ map: name, left: '-5%', top: '20%', + width: '100%', // 鏄庣‘鎸囧畾瀹藉害 + height: '720px', // 鏄庣‘鎸囧畾楂樺害 // boxWidth: 100, regionHeight: 0.8, zlevel: 10, @@ -256,6 +258,8 @@ regionHeight: 0.8, left: '-5%', top: '20%', + width: '100%', // 鏄庣‘鎸囧畾瀹藉害 + height: '720px', // 鏄庣‘鎸囧畾楂樺害 zlevel: 5, // tooltip: { @@ -333,49 +337,49 @@ { coords: [ [104.621171408, 29.150000, 300], - [104.841471408, 29.860000, 335] + [104.891471408, 30.050000, 335] ] }, // 楂樻柊鍖虹嚎 { coords: [ [104.780000, 29.19, 300], - [104.867237686031, 29.39548885792289, 335] + [104.880237686031, 29.42548885792289, 335] ] }, // 澶у畨鍖虹嚎 { coords: [ - [104.93805, 29.175946, 300], - [105.17337686031, 29.57948885792289, 335] + [104.95805, 29.155946, 300], + [105.24337686031, 29.61948885792289, 335] ] }, // 娌挎哗鍖虹嚎 { coords: [ - [104.78804, 29.100594, 300], - [105.36237686031, 30.30048885792289, 335] + [104.80804, 29.100594, 300], + [105.41237686031, 30.30048885792289, 335] ] }, // 璐′簳鍖虹嚎 { coords: [ [104.46106, 29.101427, 300], - [104.51037686031, 29.42048885792289, 335] + [104.51837686031, 29.45048885792289, 335] ] }, // 鑽e幙绾� { coords: [ [104.2634, 29.2838, 300], - [104.25437686031, 29.64048885792289, 335] + [104.25437686031, 29.67048885792289, 335] ] }, // 瀵岄『绾� { coords: [ [105.000000, 28.93, 300], - [105.208, 29.185, 335] + [105.218, 29.195, 335] ] } ], @@ -417,6 +421,7 @@ }, formatter: function (params) { + // return `{style|${params.data.name} 锛�${params.data.number}}` return `{style|${params.data.name} \n 瑙嗛锛�${params.data.number} \n 杞﹁締锛�${params.data.number} \n 浜鸿劯锛�${params.data.number}}` }, rich: { -- Gitblit v1.8.0