@aibee/crc-bmap 0.13.12 → 0.13.14
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/index.cjs +9 -9
- package/lib/index.esm.min.js +15 -15
- package/lib/meta.json +3 -3
- package/lib/src/elements/poi2.d.ts +10 -4
- package/package.json +1 -1
package/lib/meta.json
CHANGED
|
@@ -2998,7 +2998,7 @@
|
|
|
2998
2998
|
"format": "esm"
|
|
2999
2999
|
},
|
|
3000
3000
|
"../lib/src/elements/poi2.js": {
|
|
3001
|
-
"bytes":
|
|
3001
|
+
"bytes": 15764,
|
|
3002
3002
|
"imports": [
|
|
3003
3003
|
{
|
|
3004
3004
|
"path": "../../../node_modules/.pnpm/@swc+helpers@0.5.17/node_modules/@swc/helpers/esm/_extends.js",
|
|
@@ -9466,7 +9466,7 @@
|
|
|
9466
9466
|
"bytesInOutput": 1595
|
|
9467
9467
|
},
|
|
9468
9468
|
"../lib/src/elements/poi2.js": {
|
|
9469
|
-
"bytesInOutput":
|
|
9469
|
+
"bytesInOutput": 8247
|
|
9470
9470
|
},
|
|
9471
9471
|
"../lib/src/elements/svg-line.js": {
|
|
9472
9472
|
"bytesInOutput": 2240
|
|
@@ -9697,7 +9697,7 @@
|
|
|
9697
9697
|
"bytesInOutput": 433
|
|
9698
9698
|
}
|
|
9699
9699
|
},
|
|
9700
|
-
"bytes":
|
|
9700
|
+
"bytes": 402062
|
|
9701
9701
|
}
|
|
9702
9702
|
}
|
|
9703
9703
|
}
|
|
@@ -42,16 +42,21 @@ export type PoiOptionsParam2 = Partial<PoiOptions2>;
|
|
|
42
42
|
export declare class Poi2 extends Object3D<PoiEventMap2> {
|
|
43
43
|
context: Context;
|
|
44
44
|
options: PoiOptions2;
|
|
45
|
-
textAspect: number;
|
|
46
45
|
spriteText?: Sprite;
|
|
47
46
|
spriteIcon?: Sprite;
|
|
48
47
|
box: Box2;
|
|
49
48
|
boxHelper?: HTMLDivElement;
|
|
50
49
|
private _initIconPromise;
|
|
51
|
-
textureLines: number;
|
|
52
50
|
private _shouldShow;
|
|
53
|
-
|
|
51
|
+
textTextureMap: Record<string, {
|
|
52
|
+
texture: DataTexture;
|
|
53
|
+
lines: number;
|
|
54
|
+
textAspect: number;
|
|
55
|
+
}>;
|
|
54
56
|
constructor(context: Context, options: PoiOptionsParam2);
|
|
57
|
+
get textTexture(): DataTexture | null;
|
|
58
|
+
get textureLines(): number;
|
|
59
|
+
get textAspect(): number;
|
|
55
60
|
get hasText(): string | false;
|
|
56
61
|
get durIconAndText(): 2 | 0;
|
|
57
62
|
get offset(): 0 | 0.5;
|
|
@@ -60,7 +65,7 @@ export declare class Poi2 extends Object3D<PoiEventMap2> {
|
|
|
60
65
|
get textWidth(): number;
|
|
61
66
|
get textHeight(): number;
|
|
62
67
|
get hasOriginTexture(): boolean;
|
|
63
|
-
get inited(): true | "" | DataTexture |
|
|
68
|
+
get inited(): true | "" | DataTexture | null;
|
|
64
69
|
get deltaZ(): number;
|
|
65
70
|
get canSelect(): boolean;
|
|
66
71
|
show(): Promise<void>;
|
|
@@ -69,6 +74,7 @@ export declare class Poi2 extends Object3D<PoiEventMap2> {
|
|
|
69
74
|
unRegistryEvent(): void;
|
|
70
75
|
getPosition(): Vector3;
|
|
71
76
|
initIcon(): Promise<any>;
|
|
77
|
+
_initTextTexture: () => Promise<void>;
|
|
72
78
|
initTextTexture: () => Promise<void>;
|
|
73
79
|
initText(): Promise<void>;
|
|
74
80
|
initSize(): void;
|