@maptiler/sdk 3.4.0 → 3.4.1-rc2
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/src/Map.d.ts
CHANGED
|
@@ -143,6 +143,13 @@ export declare class Map extends maplibregl.Map {
|
|
|
143
143
|
private space?;
|
|
144
144
|
private halo?;
|
|
145
145
|
getSpace(): CubemapLayer | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* Sets the space for the map.
|
|
148
|
+
* @param {CubemapDefinition} space the `CubemapDefinition` options to set.
|
|
149
|
+
* @remarks This method, at present, ** overwrites ** the current config.
|
|
150
|
+
* If an option is not set it will internally revert to the default option
|
|
151
|
+
* unless explicitly set when calling.
|
|
152
|
+
*/
|
|
146
153
|
setSpace(space: CubemapDefinition): void;
|
|
147
154
|
private setSpaceFromStyle;
|
|
148
155
|
private setHaloFromStyle;
|
|
@@ -90,6 +90,12 @@ declare class CubemapLayer implements CustomLayerInterface {
|
|
|
90
90
|
* @type {string}
|
|
91
91
|
*/
|
|
92
92
|
currentFacesDefinitionKey: string;
|
|
93
|
+
/**
|
|
94
|
+
* The configuration options for the cubemap layer.
|
|
95
|
+
* @type {CubemapLayerConstructorOptions}
|
|
96
|
+
* @private
|
|
97
|
+
*/
|
|
98
|
+
private options;
|
|
93
99
|
/**
|
|
94
100
|
* Creates a new instance of CubemapLayer
|
|
95
101
|
*
|
|
@@ -188,6 +194,11 @@ declare class CubemapLayer implements CustomLayerInterface {
|
|
|
188
194
|
*/
|
|
189
195
|
render(gl: WebGLRenderingContext | WebGL2RenderingContext, _options: CustomRenderMethodInput): void;
|
|
190
196
|
private setBgColor;
|
|
197
|
+
/**
|
|
198
|
+
* Returns the current configuration options for the cubemap layer.
|
|
199
|
+
* @returns {CubemapLayerConstructorOptions} The current configuration options.
|
|
200
|
+
*/
|
|
201
|
+
getConfig(): CubemapLayerConstructorOptions;
|
|
191
202
|
private setCubemapFaces;
|
|
192
203
|
/**
|
|
193
204
|
* Sets the cubemap for the layer based on the provided definition.
|