@ino-cesium/primitive 0.0.24 → 0.0.25-beta.0
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.d.ts +6 -6
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -454,7 +454,7 @@ declare class RadereScanPrimitive extends BasePrimitive<any> {
|
|
|
454
454
|
private options;
|
|
455
455
|
constructor(options: IRaderScanPrimitiveOptions);
|
|
456
456
|
getGeometry(): Cesium.CircleGeometry;
|
|
457
|
-
getPrimitive(): Cesium.Primitive | Cesium.GroundPrimitive | Cesium.PointPrimitiveCollection | Cesium.GroundPolylinePrimitive | Cesium.LabelCollection |
|
|
457
|
+
getPrimitive(): Cesium.PrimitiveCollection | Cesium.Primitive | Cesium.GroundPrimitive | Cesium.PointPrimitiveCollection | Cesium.GroundPolylinePrimitive | Cesium.LabelCollection | undefined;
|
|
458
458
|
setAppearance(appearance?: Cesium.Appearance): void;
|
|
459
459
|
}
|
|
460
460
|
|
|
@@ -584,7 +584,7 @@ declare class CircleAperturePrimitive extends BasePrimitive<any> {
|
|
|
584
584
|
private options;
|
|
585
585
|
constructor(options: ICircleAperturePrimitiveOptions);
|
|
586
586
|
getGeometry(): Cesium.CircleGeometry;
|
|
587
|
-
getPrimitive(): Cesium.Primitive | Cesium.GroundPrimitive | Cesium.PointPrimitiveCollection | Cesium.GroundPolylinePrimitive | Cesium.LabelCollection |
|
|
587
|
+
getPrimitive(): Cesium.PrimitiveCollection | Cesium.Primitive | Cesium.GroundPrimitive | Cesium.PointPrimitiveCollection | Cesium.GroundPolylinePrimitive | Cesium.LabelCollection | undefined;
|
|
588
588
|
setAppearance(appearance?: Cesium.Appearance): void;
|
|
589
589
|
}
|
|
590
590
|
|
|
@@ -636,7 +636,7 @@ interface IGridPrimitiveVertices {
|
|
|
636
636
|
}
|
|
637
637
|
|
|
638
638
|
declare const createDivLabelHandler: (viewer: Cesium.Viewer) => IDivLabelHandler;
|
|
639
|
-
interface
|
|
639
|
+
interface IDivLabelSetOptions {
|
|
640
640
|
position: Cesium.Cartesian3;
|
|
641
641
|
divEle: HTMLDivElement;
|
|
642
642
|
distanceDisplayCondition?: Cesium.DistanceDisplayCondition;
|
|
@@ -650,12 +650,12 @@ interface IDivLabelOptions {
|
|
|
650
650
|
userSelect?: string;
|
|
651
651
|
align?: 'left' | 'center' | 'right';
|
|
652
652
|
}
|
|
653
|
-
interface IDivLabelItem extends
|
|
653
|
+
interface IDivLabelItem extends IDivLabelSetOptions {
|
|
654
654
|
id: string;
|
|
655
655
|
}
|
|
656
656
|
interface IDivLabelHandler {
|
|
657
657
|
divLabels: IDivLabelItem[];
|
|
658
|
-
set: (options:
|
|
658
|
+
set: (options: IDivLabelSetOptions) => IDivLabelItem;
|
|
659
659
|
setPosition: (id: string, position: Cesium.Cartesian3) => void;
|
|
660
660
|
remove: (divLabelItem: IDivLabelItem) => void;
|
|
661
661
|
removeAll: () => void;
|
|
@@ -664,4 +664,4 @@ interface IDivLabelHandler {
|
|
|
664
664
|
}
|
|
665
665
|
|
|
666
666
|
export { CircleAperturePrimitive, GridPrimitives, GroundPolygonPrimitives, GroundPolylinePrimitives, PointClusterPrimitives, PointPrimitives, types as Primitives, RadereScanPrimitive, createDivLabelHandler };
|
|
667
|
-
export type { IBillboard, ICircleAperturePrimitiveOptions, IDivLabelHandler, IDivLabelItem,
|
|
667
|
+
export type { IBillboard, ICircleAperturePrimitiveOptions, IDivLabelHandler, IDivLabelItem, IDivLabelSetOptions, IGroundPolygonPrimitivesOptions, IGroundPolylinePrimitivesOptions, ILabel, IPoint, IPointPrimitivesOptions, IRaderScanPrimitiveOptions, Icluster };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ino-cesium/primitive",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.25-beta.0",
|
|
5
5
|
"author": "koino",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"cesium",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"kdbush": "^3.0.0",
|
|
32
32
|
"supercluster": "^8.0.1",
|
|
33
|
-
"@ino-cesium/common": "0.0.
|
|
34
|
-
"@ino-cesium/material": "0.0.
|
|
33
|
+
"@ino-cesium/common": "0.0.25-beta.0",
|
|
34
|
+
"@ino-cesium/material": "0.0.25-beta.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/supercluster": "^7.1.3"
|