@aibee/crc-bmap 0.0.120 → 0.0.123
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/lib/bmap.cjs.min.js +5 -5
- package/lib/bmap.cjs.min.js.map +3 -3
- package/lib/bmap.esm.js +39 -38
- package/lib/bmap.esm.js.map +3 -3
- package/lib/bmap.esm.min.js +5 -5
- package/lib/bmap.esm.min.js.map +3 -3
- package/lib/bmap.min.js +6 -3692
- package/lib/bmap.min.js.map +3 -3
- package/lib/src/elements/graphic.d.ts +2 -1
- package/lib/src/elements/mergeGraphic.d.ts +24 -0
- package/lib/src/loader/AibeeLoader/type.d.ts +1 -0
- package/package.json +1 -1
|
@@ -20,11 +20,12 @@ export interface Door {
|
|
|
20
20
|
material: keyof typeof DoorMaterial;
|
|
21
21
|
}
|
|
22
22
|
export type GraphicOptionsParam = Partial<GraphicOptions>;
|
|
23
|
-
type GraphicEventMap = {
|
|
23
|
+
export type GraphicEventMap = {
|
|
24
24
|
[K in keyof GraphicOptions as `change-${K}`]: {
|
|
25
25
|
value: GraphicOptions[K];
|
|
26
26
|
};
|
|
27
27
|
} & Object3DEventMap;
|
|
28
|
+
export declare const defaultGraphicOptions: GraphicOptions;
|
|
28
29
|
export declare class Graphic extends Object3D<GraphicEventMap> {
|
|
29
30
|
private context;
|
|
30
31
|
geometry: ExtrudeGeometry;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Object3D, Mesh, Vector3, BufferGeometry, LineBasicMaterial, LineSegments, ShaderMaterial } from "three";
|
|
2
|
+
import { GraphicOptions } from "src/types";
|
|
3
|
+
import { Context } from "../context";
|
|
4
|
+
import { GraphicEventMap, GraphicOptionsParam } from "./graphic";
|
|
5
|
+
export declare class MergeGraphic extends Object3D<GraphicEventMap> {
|
|
6
|
+
private context;
|
|
7
|
+
geometry: BufferGeometry;
|
|
8
|
+
material: ShaderMaterial;
|
|
9
|
+
mesh: Mesh;
|
|
10
|
+
line: LineSegments;
|
|
11
|
+
lineMaterial?: LineBasicMaterial;
|
|
12
|
+
lineGeometry?: BufferGeometry;
|
|
13
|
+
options: GraphicOptions[];
|
|
14
|
+
constructor(context: Context, options: GraphicOptionsParam[]);
|
|
15
|
+
init(): void;
|
|
16
|
+
initGeometry(): BufferGeometry<import("three").NormalBufferAttributes>;
|
|
17
|
+
initMaterial(): void;
|
|
18
|
+
initLineMaterial(): LineBasicMaterial;
|
|
19
|
+
initMesh(): void;
|
|
20
|
+
getBorderPoints(): Vector3[];
|
|
21
|
+
initLineGeometry(): void;
|
|
22
|
+
createBorder(): LineSegments<BufferGeometry<import("three").NormalBufferAttributes>, LineBasicMaterial>;
|
|
23
|
+
dispose(): void;
|
|
24
|
+
}
|
|
@@ -114,6 +114,7 @@ export interface AibeeParkingSpaceLayer {
|
|
|
114
114
|
center_x: number;
|
|
115
115
|
center_y: number;
|
|
116
116
|
poi_info: any;
|
|
117
|
+
text: string[];
|
|
117
118
|
})[];
|
|
118
119
|
}
|
|
119
120
|
export type AibeeLayerData = AibeeGraphicLayer | AibeeRangeLayer | AibeeGroundLayer | AibeeWallLayer | AibeeLaneLayer | AibeeTexture2dLayer | AibeeTexture3dLayer | AibeeGlbLayer | AibeeStoreLayer | AibeeFacilityLayer | AibeeParkingSpaceLayer;
|