@vesium/plot 1.0.1-beta.54 → 1.0.1-beta.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +46 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.iife.js +46 -11
- package/dist/index.iife.js.map +1 -1
- package/dist/index.iife.min.js +1 -1
- package/dist/index.iife.min.js.map +1 -1
- package/dist/index.min.cjs +1 -1
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +36 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -6,12 +6,16 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
8
|
var __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from === "object" || typeof from === "function")
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
+
key = keys[i];
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
13
|
+
__defProp(to, key, {
|
|
14
|
+
get: ((k) => from[k]).bind(null, key),
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
15
19
|
}
|
|
16
20
|
return to;
|
|
17
21
|
};
|
|
@@ -22,15 +26,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
22
26
|
|
|
23
27
|
//#endregion
|
|
24
28
|
let cesium = require("cesium");
|
|
25
|
-
cesium = __toESM(cesium);
|
|
26
29
|
let vesium = require("vesium");
|
|
27
|
-
vesium = __toESM(vesium);
|
|
28
30
|
let __vueuse_core = require("@vueuse/core");
|
|
29
|
-
__vueuse_core = __toESM(__vueuse_core);
|
|
30
31
|
let vue = require("vue");
|
|
31
|
-
vue = __toESM(vue);
|
|
32
32
|
let __vesium_geometry = require("@vesium/geometry");
|
|
33
|
-
__vesium_geometry = __toESM(__vesium_geometry);
|
|
34
33
|
let __turf_turf = require("@turf/turf");
|
|
35
34
|
__turf_turf = __toESM(__turf_turf);
|
|
36
35
|
|
|
@@ -1481,6 +1480,9 @@ const schemeMeasureDistance = new PlotScheme({
|
|
|
1481
1480
|
|
|
1482
1481
|
//#endregion
|
|
1483
1482
|
//#region scheme/Billboard.ts
|
|
1483
|
+
/**
|
|
1484
|
+
* billboard标绘配置
|
|
1485
|
+
*/
|
|
1484
1486
|
const PlotSchemeBillboard = new PlotScheme({
|
|
1485
1487
|
type: "Billboard",
|
|
1486
1488
|
complete: (packable) => packable.positions.length >= 1,
|
|
@@ -1503,6 +1505,9 @@ const PlotSchemeBillboard = new PlotScheme({
|
|
|
1503
1505
|
|
|
1504
1506
|
//#endregion
|
|
1505
1507
|
//#region scheme/BillboardPinBuilder.ts
|
|
1508
|
+
/**
|
|
1509
|
+
* billboard-pin-builder标绘配置
|
|
1510
|
+
*/
|
|
1506
1511
|
const PlotSchemeBillboardPinBuilder = new PlotScheme({
|
|
1507
1512
|
type: "BillboardPinBuilder",
|
|
1508
1513
|
complete: (packable) => packable.positions.length >= 1,
|
|
@@ -1520,6 +1525,9 @@ const PlotSchemeBillboardPinBuilder = new PlotScheme({
|
|
|
1520
1525
|
|
|
1521
1526
|
//#endregion
|
|
1522
1527
|
//#region scheme/Cylinder.ts
|
|
1528
|
+
/**
|
|
1529
|
+
* cylinder标绘配置
|
|
1530
|
+
*/
|
|
1523
1531
|
const PlotSchemeCylinder = new PlotScheme({
|
|
1524
1532
|
type: "Cylinder",
|
|
1525
1533
|
complete: (packable) => packable.positions.length >= 2,
|
|
@@ -1546,6 +1554,9 @@ const PlotSchemeCylinder = new PlotScheme({
|
|
|
1546
1554
|
|
|
1547
1555
|
//#endregion
|
|
1548
1556
|
//#region scheme/Ellipse.ts
|
|
1557
|
+
/**
|
|
1558
|
+
* ellipse标绘配置 圆形扩散波
|
|
1559
|
+
*/
|
|
1549
1560
|
const PlotSchemeEllipse = new PlotScheme({
|
|
1550
1561
|
type: "Ellipse",
|
|
1551
1562
|
complete: (packable) => packable.positions.length >= 2,
|
|
@@ -1572,6 +1583,9 @@ const PlotSchemeEllipse = new PlotScheme({
|
|
|
1572
1583
|
|
|
1573
1584
|
//#endregion
|
|
1574
1585
|
//#region scheme/Label.ts
|
|
1586
|
+
/**
|
|
1587
|
+
* 基础label标绘配置
|
|
1588
|
+
*/
|
|
1575
1589
|
const PlotSchemeLabel = new PlotScheme({
|
|
1576
1590
|
type: "Label",
|
|
1577
1591
|
complete: (packable) => packable.positions.length >= 1,
|
|
@@ -1589,6 +1603,9 @@ const PlotSchemeLabel = new PlotScheme({
|
|
|
1589
1603
|
|
|
1590
1604
|
//#endregion
|
|
1591
1605
|
//#region scheme/Point.ts
|
|
1606
|
+
/**
|
|
1607
|
+
* 基础point标绘配置
|
|
1608
|
+
*/
|
|
1592
1609
|
const PlotSchemePoint = new PlotScheme({
|
|
1593
1610
|
type: "Point",
|
|
1594
1611
|
complete: (packable) => packable.positions.length >= 1,
|
|
@@ -1609,6 +1626,9 @@ const PlotSchemePoint = new PlotScheme({
|
|
|
1609
1626
|
|
|
1610
1627
|
//#endregion
|
|
1611
1628
|
//#region scheme/Polygon.ts
|
|
1629
|
+
/**
|
|
1630
|
+
* 基础Polygon标绘配置
|
|
1631
|
+
*/
|
|
1612
1632
|
const PlotSchemePolygon = new PlotScheme({
|
|
1613
1633
|
type: "Polygon",
|
|
1614
1634
|
allowManualComplete: (packable) => packable.positions.length >= 2,
|
|
@@ -1647,6 +1667,9 @@ const PlotSchemePolygon = new PlotScheme({
|
|
|
1647
1667
|
|
|
1648
1668
|
//#endregion
|
|
1649
1669
|
//#region scheme/PolygonArc.ts
|
|
1670
|
+
/**
|
|
1671
|
+
* 弓形
|
|
1672
|
+
*/
|
|
1650
1673
|
const PlotSchemePolygonArc = new PlotScheme({
|
|
1651
1674
|
type: "PolygonArc",
|
|
1652
1675
|
complete: (packable) => packable.positions.length >= 3,
|
|
@@ -1894,6 +1917,9 @@ const PlotSchemePolygonAssemblingPlace = new PlotScheme({
|
|
|
1894
1917
|
|
|
1895
1918
|
//#endregion
|
|
1896
1919
|
//#region scheme/PolygonSmooth.ts
|
|
1920
|
+
/**
|
|
1921
|
+
* polygon-smooth 标绘配置 平滑闭合面
|
|
1922
|
+
*/
|
|
1897
1923
|
const PlotSchemePolygonSmooth = new PlotScheme({
|
|
1898
1924
|
type: "PolygonSmooth",
|
|
1899
1925
|
allowManualComplete: (packable) => packable.positions.length >= 3,
|
|
@@ -1925,6 +1951,9 @@ const PlotSchemePolygonSmooth = new PlotScheme({
|
|
|
1925
1951
|
|
|
1926
1952
|
//#endregion
|
|
1927
1953
|
//#region scheme/Polyline.ts
|
|
1954
|
+
/**
|
|
1955
|
+
* polyline
|
|
1956
|
+
*/
|
|
1928
1957
|
const PlotSchemePolyline = new PlotScheme({
|
|
1929
1958
|
type: "Polyline",
|
|
1930
1959
|
allowManualComplete: (packable) => packable.positions.length > 1,
|
|
@@ -1952,6 +1981,9 @@ const PlotSchemePolyline = new PlotScheme({
|
|
|
1952
1981
|
|
|
1953
1982
|
//#endregion
|
|
1954
1983
|
//#region scheme/PolylineCurve.ts
|
|
1984
|
+
/**
|
|
1985
|
+
* polyline-Curve
|
|
1986
|
+
*/
|
|
1955
1987
|
const PlotSchemePolylineCurve = new PlotScheme({
|
|
1956
1988
|
type: "PolylineCurve",
|
|
1957
1989
|
allowManualComplete: (packable) => packable.positions.length > 1,
|
|
@@ -1984,6 +2016,9 @@ const PlotSchemePolylineCurve = new PlotScheme({
|
|
|
1984
2016
|
|
|
1985
2017
|
//#endregion
|
|
1986
2018
|
//#region scheme/Rectangle.ts
|
|
2019
|
+
/**
|
|
2020
|
+
* rectangle
|
|
2021
|
+
*/
|
|
1987
2022
|
const PlotSchemeRectangle = new PlotScheme({
|
|
1988
2023
|
type: "Rectangle",
|
|
1989
2024
|
complete: (packable) => packable.positions.length >= 2,
|