@ino-cesium/primitive 0.0.7 → 0.0.9
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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Cesium from 'cesium';
|
|
2
|
-
import { CircleGeometry, Appearance } from 'cesium';
|
|
2
|
+
import { CircleGeometry, Primitive, GroundPrimitive, Appearance } from 'cesium';
|
|
3
3
|
import { FeatureCollection, Point, Polygon, MultiPolygon, GeoJsonProperties, LineString, MultiLineString, Feature } from 'geojson';
|
|
4
4
|
import { Material } from '@ino-cesium/material';
|
|
5
5
|
import { BasePrimitive } from '@ino-cesium/common';
|
|
@@ -454,7 +454,7 @@ declare class RadereScanPrimitive extends BasePrimitive<any> {
|
|
|
454
454
|
private options;
|
|
455
455
|
constructor(options: IRaderScanPrimitiveOptions);
|
|
456
456
|
getGeometry(): CircleGeometry;
|
|
457
|
-
getPrimitive():
|
|
457
|
+
getPrimitive(): Primitive | GroundPrimitive | Cesium.PointPrimitiveCollection | Cesium.GroundPolylinePrimitive | Cesium.LabelCollection | Cesium.PrimitiveCollection | undefined;
|
|
458
458
|
setAppearance(appearance?: Appearance): void;
|
|
459
459
|
}
|
|
460
460
|
|
|
@@ -474,7 +474,7 @@ declare class PointPrimitives extends BasePrimitive<any> {
|
|
|
474
474
|
initCollection: (geojson: FeatureCollection<Point, GeoJsonProperties>) => Promise<void>;
|
|
475
475
|
clacBoundingSphere(geoJson: FeatureCollection<Point, GeoJsonProperties>): void;
|
|
476
476
|
createPoint(feature: Feature<Point, GeoJsonProperties>): {
|
|
477
|
-
id:
|
|
477
|
+
id: string;
|
|
478
478
|
position: Cesium.Cartesian3;
|
|
479
479
|
color: Cesium.Color;
|
|
480
480
|
pixelSize: any;
|
|
@@ -486,7 +486,7 @@ declare class PointPrimitives extends BasePrimitive<any> {
|
|
|
486
486
|
distanceDisplayCondition: any;
|
|
487
487
|
};
|
|
488
488
|
createBillboard(feature: Feature<Point, GeoJsonProperties>): {
|
|
489
|
-
id:
|
|
489
|
+
id: string;
|
|
490
490
|
position: Cesium.Cartesian3;
|
|
491
491
|
image: any;
|
|
492
492
|
scale: any;
|
|
@@ -503,7 +503,7 @@ declare class PointPrimitives extends BasePrimitive<any> {
|
|
|
503
503
|
distanceDisplayCondition: any;
|
|
504
504
|
};
|
|
505
505
|
createLabel(feature: Feature<Point, GeoJsonProperties>): {
|
|
506
|
-
id:
|
|
506
|
+
id: string;
|
|
507
507
|
position: Cesium.Cartesian3;
|
|
508
508
|
text: any;
|
|
509
509
|
font: any;
|
|
@@ -584,7 +584,7 @@ declare class CircleAperturePrimitive extends BasePrimitive<any> {
|
|
|
584
584
|
private options;
|
|
585
585
|
constructor(options: ICircleAperturePrimitiveOptions);
|
|
586
586
|
getGeometry(): CircleGeometry;
|
|
587
|
-
getPrimitive():
|
|
587
|
+
getPrimitive(): Primitive | GroundPrimitive | Cesium.PointPrimitiveCollection | Cesium.GroundPolylinePrimitive | Cesium.LabelCollection | Cesium.PrimitiveCollection | undefined;
|
|
588
588
|
setAppearance(appearance?: Appearance): void;
|
|
589
589
|
}
|
|
590
590
|
|
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.9",
|
|
5
5
|
"author": "koino",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"cesium",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"cesium": "*"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@ino-cesium/common": "0.0.
|
|
35
|
-
"@ino-cesium/material": "0.0.
|
|
34
|
+
"@ino-cesium/common": "0.0.9",
|
|
35
|
+
"@ino-cesium/material": "0.0.9",
|
|
36
36
|
"kdbush": "^3.0.0",
|
|
37
37
|
"supercluster": "^8.0.1"
|
|
38
38
|
},
|