@ino-cesium/primitive 0.0.24 → 0.0.25

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +6 -6
  2. 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 | Cesium.PrimitiveCollection | undefined;
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 | Cesium.PrimitiveCollection | undefined;
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 IDivLabelOptions {
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 IDivLabelOptions {
653
+ interface IDivLabelItem extends IDivLabelSetOptions {
654
654
  id: string;
655
655
  }
656
656
  interface IDivLabelHandler {
657
657
  divLabels: IDivLabelItem[];
658
- set: (options: IDivLabelOptions) => IDivLabelItem;
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, IDivLabelOptions, IGroundPolygonPrimitivesOptions, IGroundPolylinePrimitivesOptions, ILabel, IPoint, IPointPrimitivesOptions, IRaderScanPrimitiveOptions, Icluster };
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.24",
4
+ "version": "0.0.25",
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.24",
34
- "@ino-cesium/material": "0.0.24"
33
+ "@ino-cesium/common": "0.0.25",
34
+ "@ino-cesium/material": "0.0.25"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/supercluster": "^7.1.3"