@maptiler/sdk 3.10.0-rc.1 → 3.10.0-rc.2

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,11 @@ export type MapOptions = Omit<MapOptionsML, "style" | "maplibreLogo"> & {
143
143
  */
144
144
  space?: CubemapLayerConstructorOptions | boolean;
145
145
  halo?: RadialGradientLayerConstructorOptions | boolean;
146
+ /**
147
+ * Whether to log the SDK version to the console.
148
+ * Default: Unless this is set explicitly to false, the SDK version will be logged to the console.
149
+ */
150
+ logSDKVersion?: boolean;
146
151
  };
147
152
  /**
148
153
  * The Map class can be instanciated to display a map in a `<div>`
@@ -6,6 +6,7 @@ interface LoadCubemapTextureOptions {
6
6
  onReady: (texture: WebGLTexture, images?: HTMLImageElement[]) => void;
7
7
  forceRefresh?: boolean;
8
8
  }
9
+ export declare function deleteMemoizedTexture(gl: WebGLCtx): void;
9
10
  /**
10
11
  * Loads a cubemap texture from a set of image URLs.
11
12
  *
@@ -0,0 +1 @@
1
+ export declare function logSDKVersion(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maptiler/sdk",
3
- "version": "3.10.0-rc.1",
3
+ "version": "3.10.0-rc.2",
4
4
  "description": "The Javascript & TypeScript map SDK tailored for MapTiler Cloud",
5
5
  "author": "MapTiler",
6
6
  "module": "dist/maptiler-sdk.mjs",