This commit is contained in:
姚宇浩 2024-08-28 17:10:18 +08:00
parent ab51a0208d
commit 6ed4bbd1ea
2 changed files with 4 additions and 4 deletions

BIN
dist.zip

Binary file not shown.

View File

@ -3303,9 +3303,9 @@ const addPolygonCountyCs = () => {
// itemm[1] = itemm[1] + 0.00328; // itemm[1] = itemm[1] + 0.00328;
// }); // });
item.point[0].map((p) => points.push(new BMapGL.Point(...p))); item.point[0].map((p) => points.push(new BMapGL.Point(...p)));
let offsetPoints2 = points.map((point) => // let offsetPoints2 = points.map((point) =>
offsetPoint2(point, offsetX2, offsetY2) // offsetPoint2(point, offsetX2, offsetY2)
); // );
if (points.length) { if (points.length) {
// //
cs_qk_arr.value[index] = new BMapGL.Polygon(points, { cs_qk_arr.value[index] = new BMapGL.Polygon(points, {
@ -3777,7 +3777,7 @@ const reset_font2 = () => {
"scale(" + width / 1920 + "," + height / 1080 + ")"; "scale(" + width / 1920 + "," + height / 1080 + ")";
}; };
onMounted(async () => { onMounted(async () => {
tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); // tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
loadingss.value = true; loadingss.value = true;
reset_font(); reset_font();
initMap(); initMap();