@maptiler/sdk 3.9.0-rc.2 → 3.9.0-rc.3
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CubemapFaces } from './types';
|
|
2
|
+
type WebGLCtx = WebGLRenderingContext | WebGL2RenderingContext;
|
|
2
3
|
interface LoadCubemapTextureOptions {
|
|
3
|
-
gl:
|
|
4
|
+
gl: WebGLCtx;
|
|
4
5
|
faces?: CubemapFaces;
|
|
5
6
|
onReady: (texture: WebGLTexture, images?: HTMLImageElement[]) => void;
|
|
6
7
|
forceRefresh?: boolean;
|
|
@@ -139,4 +139,4 @@ export declare class RadialGradientLayer implements CustomLayerInterface {
|
|
|
139
139
|
show(): void;
|
|
140
140
|
hide(): void;
|
|
141
141
|
}
|
|
142
|
-
export declare function validateHaloSpecification(halo: RadialGradientLayerConstructorOptions | boolean):
|
|
142
|
+
export declare function validateHaloSpecification(halo: RadialGradientLayerConstructorOptions | boolean): Array<string>;
|