This commit is contained in:
姚宇浩 2024-08-01 15:56:29 +08:00
parent f01b935e16
commit fa3202ad72
1 changed files with 3 additions and 4 deletions

View File

@ -1599,7 +1599,6 @@ const to_jd = (item_name) => {
// } else {
// console.log(111, choose.value.person);
cfJd.value = item_name;
//
let jdCenter = [];
BMAP();
loadCs(item_name);
@ -2016,7 +2015,7 @@ const createCustomOverlayJd = (polygon, indexx) => {
div.setAttribute("name", this.properties.title);
var title = document.createElement("div");
title.style.fontSize = "10px";
title.style.fontSize = "12px";
title.style.fontWeight = "600";
title.style.color = "#000000";
div.appendChild(title);
@ -2057,14 +2056,14 @@ const createCustomOverlayJd2 = (polygon, indexx) => {
div.setAttribute("name", this.properties.title);
var title = document.createElement("div");
title.style.fontSize = "10px";
title.style.fontSize = "12px";
title.style.fontWeight = "600";
title.style.color = "#000000";
div.appendChild(title);
title.appendChild(document.createTextNode(this.properties.title));
content.appendChild(div);
var number = document.createElement("div");
number.style.fontSize = "12px";
number.style.fontSize = "13px";
number.style.fontWeight = "600";
number.style.color = "#FEFF6C";
number.style.textShadow = "0px 2px 4px rgba(0,0,0,0.5)";