This commit is contained in:
parent
ab51a0208d
commit
6ed4bbd1ea
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue