@maptiler/sdk 4.0.3-projection.alpha.1 → 4.1.0-rc.1

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.
@@ -162,6 +162,13 @@ export type SortKeyRange = SymbolBucket["sortKeyRanges"][number];
162
162
  /** @deprecated Will be removed from public API in MapTiler SDK v4 */
163
163
  export type Entry = GlyphManager["entries"][string];
164
164
  /** @deprecated Will be removed from public API in MapTiler SDK v4 */
165
+ export type PoolObject = {
166
+ id: number;
167
+ fbo: Framebuffer;
168
+ texture: Texture;
169
+ stamp: number;
170
+ inUse: boolean;
171
+ };
165
172
  /** @deprecated Will be removed from public API in MapTiler SDK v4 */
166
173
  export type RenderPass = "offscreen" | "opaque" | "translucent";
167
174
  /** @deprecated Will be removed from public API in MapTiler SDK v4 */
@@ -181,6 +188,7 @@ export type ProjectionCache = SymbolProjectionContext["projectionCache"];
181
188
  /** @deprecated Will be removed from public API in MapTiler SDK v4 */
182
189
  export type SymbolProjectionContext = Parameters<CollisionIndex["projectPathToScreenSpace"]>[1];
183
190
  /** @deprecated Will be removed from public API in MapTiler SDK v4 */
191
+ export type ProjectionDataParams = Parameters<IReadonlyTransform["getProjectionData"]>[0];
184
192
  /** @deprecated Will be removed from public API in MapTiler SDK v4 */
185
193
  export type CoveringTilesDetailsProvider = ReturnType<IReadonlyTransform["getCoveringTilesDetailsProvider"]>;
186
194
  /** @deprecated Will be removed from public API in MapTiler SDK v4 */
@@ -502,7 +510,6 @@ type GlyphManager = Painter["glyphManager"];
502
510
  /** @deprecated Will be removed from public API in MapTiler SDK v4 */
503
511
  type RenderToTexture = Painter["renderToTexture"];
504
512
  /** @deprecated Will be removed from public API in MapTiler SDK v4 */
505
- /** @deprecated Will be removed from public API in MapTiler SDK v4 */
506
513
  type CollisionIndex = Placement["collisionIndex"];
507
514
  /** @deprecated Will be removed from public API in MapTiler SDK v4 */
508
515
  type RGBAImage = StyleImageData["data"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maptiler/sdk",
3
- "version": "4.0.3-projection.alpha.1",
3
+ "version": "4.1.0-rc.1",
4
4
  "description": "The Javascript & TypeScript map SDK tailored for MapTiler Cloud",
5
5
  "author": "MapTiler",
6
6
  "module": "dist/maptiler-sdk.mjs",
@@ -97,8 +97,7 @@
97
97
  "typescript-eslint": "^8.25.0",
98
98
  "vite": "^6.0.7",
99
99
  "vite-plugin-dts": "^4.5.0",
100
- "vitest": "^3.0.9",
101
- "maplibre-gl": "file:proj/maplibre-gl-6.0.0-1-projections.tgz"
100
+ "vitest": "^3.0.9"
102
101
  },
103
102
  "dependencies": {
104
103
  "@maplibre/maplibre-gl-style-spec": "^24.7.0",
@@ -107,6 +106,7 @@
107
106
  "events": "^3.3.0",
108
107
  "gl-matrix": "^3.4.4",
109
108
  "js-base64": "^3.7.7",
109
+ "maplibre-gl": "5.24",
110
110
  "uuid": "^14.0.0"
111
111
  }
112
112
  }