earthsdk3-cesium 3.7.0-beta.17 → 3.7.0-beta.18
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/earthsdk3-cesium.iife.js +101 -101
- package/dist/earthsdk3-cesium.js +3712 -3693
- package/dist/earthsdk3-cesium.umd.cjs +103 -103
- package/dist/types/ESCesiumViewer/ViewerExtensions/VectorTilesManager/type.d.ts +18 -0
- package/dist/types/ESCesiumViewer/ViewerExtensions/VectorTilesManager/utils.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type mapboxLineStyle = Partial<{
|
|
2
|
+
"cap": "butt" | "round" | "square";
|
|
3
|
+
"color": string;
|
|
4
|
+
"join": "bevel" | "round" | "miter" | "none";
|
|
5
|
+
"occlusionOpacity": number;
|
|
6
|
+
"pattern": string;
|
|
7
|
+
"sortKey": number;
|
|
8
|
+
"width": number;
|
|
9
|
+
"visibility": string;
|
|
10
|
+
}>;
|
|
11
|
+
export type mapboxFillStyle = Partial<{
|
|
12
|
+
"color": string;
|
|
13
|
+
"outlineColor": string;
|
|
14
|
+
"pattern": string;
|
|
15
|
+
"sortKey": number;
|
|
16
|
+
"zOffset": number;
|
|
17
|
+
"visibility": string;
|
|
18
|
+
}>;
|
|
@@ -3,3 +3,4 @@ export declare function getMapboxTextField(textField: any, zoom: number): string
|
|
|
3
3
|
export declare function tileDataToGeoJSON(tileData: Record<string, any>): Map<string, Set<any>>;
|
|
4
4
|
export declare function interpolateTextAlongPath(viewer: Cesium.Viewer, positions: Cesium.Cartesian3[], text: string, font: string): Map<Cesium.Cartesian3, Cesium.Cartesian3[]>;
|
|
5
5
|
export declare function wrapByPixel(text: any, maxWidth: any, font: any): string;
|
|
6
|
+
export declare function hexToRgba(hex: string, opacity?: number): [r: number, g: number, b: number, a: number] | null;
|