@maptiler/sdk 3.6.0 → 3.6.1-rc1
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/maptiler-sdk.mjs +188 -185
- package/dist/maptiler-sdk.mjs.map +1 -1
- package/dist/src/Map.d.ts +1 -0
- package/dist/src/utils/webgl-utils.d.ts +1 -1
- package/package.json +1 -1
package/dist/src/Map.d.ts
CHANGED
|
@@ -219,6 +219,7 @@ export declare class Map extends maplibregl.Map {
|
|
|
219
219
|
* - a longer form with the prefix `"maptiler://"` (eg. `"maptiler://streets-v2"`)
|
|
220
220
|
*/
|
|
221
221
|
setStyle(style: null | ReferenceMapStyle | MapStyleVariant | StyleSpecification | StyleSpecificationWithMetaData | string, options?: StyleSwapOptions & StyleOptions): this;
|
|
222
|
+
private spaceboxLoadingState;
|
|
222
223
|
/**
|
|
223
224
|
* Adds a [MapLibre style layer](https://maplibre.org/maplibre-style-spec/layers)
|
|
224
225
|
* to the map's style.
|
|
@@ -16,7 +16,7 @@ export declare function loadShader({ gl, type, source }: {
|
|
|
16
16
|
*
|
|
17
17
|
* @returns WebGL program
|
|
18
18
|
*/
|
|
19
|
-
export declare function
|
|
19
|
+
export declare function createShaderProgram({ gl, vertexShaderSource, fragmentShaderSource }: {
|
|
20
20
|
gl: WebGLContext;
|
|
21
21
|
vertexShaderSource: string;
|
|
22
22
|
fragmentShaderSource: string;
|