maplibre-gl-layers 0.19.0 → 1.0.0

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.
Files changed (40) hide show
  1. package/dist/SpriteLayer.d.ts +2 -2
  2. package/dist/config.d.ts +2 -2
  3. package/dist/const.d.ts +2 -2
  4. package/dist/default.d.ts +2 -2
  5. package/dist/gl/atlas.d.ts +2 -2
  6. package/dist/gl/hitTest.d.ts +2 -2
  7. package/dist/gl/mouseEvents.d.ts +2 -2
  8. package/dist/gl/shader.d.ts +2 -2
  9. package/dist/gl/text.d.ts +2 -2
  10. package/dist/gl/tracking.d.ts +2 -2
  11. package/dist/host/calculationHost.d.ts +3 -3
  12. package/dist/host/mapLibreProjectionHost.d.ts +2 -2
  13. package/dist/host/projectionHost.d.ts +2 -2
  14. package/dist/host/runtime.d.ts +2 -2
  15. package/dist/host/wasmCalculationHost.d.ts +15 -9
  16. package/dist/host/wasmHost.d.ts +2 -2
  17. package/dist/host/wasmProjectionHost.d.ts +2 -2
  18. package/dist/index.cjs +194 -84
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.ts +2 -2
  21. package/dist/index.mjs +194 -84
  22. package/dist/index.mjs.map +1 -1
  23. package/dist/internalTypes.d.ts +2 -2
  24. package/dist/interpolation/degreeInterpolation.d.ts +3 -2
  25. package/dist/interpolation/distanceInterpolation.d.ts +3 -2
  26. package/dist/interpolation/easing.d.ts +2 -2
  27. package/dist/interpolation/interpolationChannels.d.ts +2 -2
  28. package/dist/interpolation/locationInterpolation.d.ts +2 -2
  29. package/dist/interpolation/rotationInterpolation.d.ts +2 -2
  30. package/dist/types.d.ts +2 -2
  31. package/dist/utils/color.d.ts +2 -2
  32. package/dist/utils/image.d.ts +2 -2
  33. package/dist/utils/looseQuadTree.d.ts +2 -2
  34. package/dist/utils/math.d.ts +2 -2
  35. package/dist/utils/utils.d.ts +2 -2
  36. package/dist/wasm/config.json.d.ts +2 -2
  37. package/dist/wasm/offloads-nosimd.wasm +0 -0
  38. package/dist/wasm/offloads-simd-mt.wasm +0 -0
  39. package/dist/wasm/offloads-simd.wasm +0 -0
  40. package/package.json +6 -6
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * name: maplibre-gl-layers
3
- * version: 0.19.0
3
+ * version: 1.0.0
4
4
  * description: MapLibre's layer extension library enabling the display, movement, and modification of large numbers of dynamic sprite images
5
5
  * author: Kouji Matsui (@kekyo@mi.kekyo.net)
6
6
  * license: MIT
7
7
  * repository.url: https://github.com/kekyo/maplibre-gl-layers.git
8
- * git.commit.hash: 7bc93c11d7855dedb8d60f140af4e413252c32a7
8
+ * git.commit.hash: 3a2127f77d7fd3ed6ae30186d4a06f52610673a6
9
9
  */
10
10
 
11
11
  import { SpriteMode, SpriteAnchor, SpriteInterpolationOptions, SpriteImageOriginLocation, SpriteLocation, SpriteTextGlyphHorizontalAlign, SpriteTextureMagFilter, SpriteTextureMinFilter, SpriteInterpolationMode, SpriteScreenPoint, SpritePoint, SpriteEasingParam, SpriteImageLineAttributeState, SpriteImageState, SpriteInterpolatedValues, SpriteImageInterpolatedOffset, SpriteCurrentState } from './types';
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * name: maplibre-gl-layers
3
- * version: 0.19.0
3
+ * version: 1.0.0
4
4
  * description: MapLibre's layer extension library enabling the display, movement, and modification of large numbers of dynamic sprite images
5
5
  * author: Kouji Matsui (@kekyo@mi.kekyo.net)
6
6
  * license: MIT
7
7
  * repository.url: https://github.com/kekyo/maplibre-gl-layers.git
8
- * git.commit.hash: 7bc93c11d7855dedb8d60f140af4e413252c32a7
8
+ * git.commit.hash: 3a2127f77d7fd3ed6ae30186d4a06f52610673a6
9
9
  */
10
10
 
11
11
  import { SpriteInterpolationOptions } from '../types';
@@ -43,6 +43,7 @@ export declare const evaluateDegreeInterpolation: (state: SpriteInterpolationSta
43
43
  export interface DegreeInterpolationWorkItem extends SpriteInterpolationState<number> {
44
44
  readonly descriptor: SpriteInterpolationChannelDescriptor;
45
45
  readonly image: InternalSpriteImageState;
46
+ readonly channel: 'rotation' | 'offsetDeg';
46
47
  }
47
48
  export declare const collectDegreeInterpolationWorkItems: (image: InternalSpriteImageState, workItems: DegreeInterpolationWorkItem[]) => void;
48
49
  export declare const applyDegreeInterpolationEvaluations: (workItems: readonly DegreeInterpolationWorkItem[], evaluations: readonly SpriteInterpolationEvaluationResult<number>[], timestamp: number) => boolean;
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * name: maplibre-gl-layers
3
- * version: 0.19.0
3
+ * version: 1.0.0
4
4
  * description: MapLibre's layer extension library enabling the display, movement, and modification of large numbers of dynamic sprite images
5
5
  * author: Kouji Matsui (@kekyo@mi.kekyo.net)
6
6
  * license: MIT
7
7
  * repository.url: https://github.com/kekyo/maplibre-gl-layers.git
8
- * git.commit.hash: 7bc93c11d7855dedb8d60f140af4e413252c32a7
8
+ * git.commit.hash: 3a2127f77d7fd3ed6ae30186d4a06f52610673a6
9
9
  */
10
10
 
11
11
  import { SpriteInterpolationOptions } from '../types';
@@ -26,6 +26,7 @@ export declare const evaluateDistanceInterpolation: (state: SpriteInterpolationS
26
26
  export interface DistanceInterpolationWorkItem extends SpriteInterpolationState<number> {
27
27
  readonly descriptor: SpriteInterpolationChannelDescriptor;
28
28
  readonly image: InternalSpriteImageState;
29
+ readonly channel: 'offsetMeters' | 'opacity';
29
30
  }
30
31
  export declare const collectDistanceInterpolationWorkItems: (image: InternalSpriteImageState, workItems: DistanceInterpolationWorkItem[], includeOffsetMeters: boolean, includeOpacity: boolean) => void;
31
32
  export declare const applyDistanceInterpolationEvaluations: (workItems: readonly DistanceInterpolationWorkItem[], evaluations: readonly SpriteInterpolationEvaluationResult<number>[], timestamp: number) => boolean;
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * name: maplibre-gl-layers
3
- * version: 0.19.0
3
+ * version: 1.0.0
4
4
  * description: MapLibre's layer extension library enabling the display, movement, and modification of large numbers of dynamic sprite images
5
5
  * author: Kouji Matsui (@kekyo@mi.kekyo.net)
6
6
  * license: MIT
7
7
  * repository.url: https://github.com/kekyo/maplibre-gl-layers.git
8
- * git.commit.hash: 7bc93c11d7855dedb8d60f140af4e413252c32a7
8
+ * git.commit.hash: 3a2127f77d7fd3ed6ae30186d4a06f52610673a6
9
9
  */
10
10
 
11
11
  import { EasingFunction } from '../internalTypes';
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * name: maplibre-gl-layers
3
- * version: 0.19.0
3
+ * version: 1.0.0
4
4
  * description: MapLibre's layer extension library enabling the display, movement, and modification of large numbers of dynamic sprite images
5
5
  * author: Kouji Matsui (@kekyo@mi.kekyo.net)
6
6
  * license: MIT
7
7
  * repository.url: https://github.com/kekyo/maplibre-gl-layers.git
8
- * git.commit.hash: 7bc93c11d7855dedb8d60f140af4e413252c32a7
8
+ * git.commit.hash: 3a2127f77d7fd3ed6ae30186d4a06f52610673a6
9
9
  */
10
10
 
11
11
  import { SpriteInterpolationOptions } from '../types';
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * name: maplibre-gl-layers
3
- * version: 0.19.0
3
+ * version: 1.0.0
4
4
  * description: MapLibre's layer extension library enabling the display, movement, and modification of large numbers of dynamic sprite images
5
5
  * author: Kouji Matsui (@kekyo@mi.kekyo.net)
6
6
  * license: MIT
7
7
  * repository.url: https://github.com/kekyo/maplibre-gl-layers.git
8
- * git.commit.hash: 7bc93c11d7855dedb8d60f140af4e413252c32a7
8
+ * git.commit.hash: 3a2127f77d7fd3ed6ae30186d4a06f52610673a6
9
9
  */
10
10
 
11
11
  import { SpriteInterpolationOptions, SpriteLocation } from '../types';
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * name: maplibre-gl-layers
3
- * version: 0.19.0
3
+ * version: 1.0.0
4
4
  * description: MapLibre's layer extension library enabling the display, movement, and modification of large numbers of dynamic sprite images
5
5
  * author: Kouji Matsui (@kekyo@mi.kekyo.net)
6
6
  * license: MIT
7
7
  * repository.url: https://github.com/kekyo/maplibre-gl-layers.git
8
- * git.commit.hash: 7bc93c11d7855dedb8d60f140af4e413252c32a7
8
+ * git.commit.hash: 3a2127f77d7fd3ed6ae30186d4a06f52610673a6
9
9
  */
10
10
 
11
11
  import { SpriteInterpolationOptions } from '../types';
package/dist/types.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * name: maplibre-gl-layers
3
- * version: 0.19.0
3
+ * version: 1.0.0
4
4
  * description: MapLibre's layer extension library enabling the display, movement, and modification of large numbers of dynamic sprite images
5
5
  * author: Kouji Matsui (@kekyo@mi.kekyo.net)
6
6
  * license: MIT
7
7
  * repository.url: https://github.com/kekyo/maplibre-gl-layers.git
8
- * git.commit.hash: 7bc93c11d7855dedb8d60f140af4e413252c32a7
8
+ * git.commit.hash: 3a2127f77d7fd3ed6ae30186d4a06f52610673a6
9
9
  */
10
10
 
11
11
  import { CustomLayerInterface } from 'maplibre-gl';
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * name: maplibre-gl-layers
3
- * version: 0.19.0
3
+ * version: 1.0.0
4
4
  * description: MapLibre's layer extension library enabling the display, movement, and modification of large numbers of dynamic sprite images
5
5
  * author: Kouji Matsui (@kekyo@mi.kekyo.net)
6
6
  * license: MIT
7
7
  * repository.url: https://github.com/kekyo/maplibre-gl-layers.git
8
- * git.commit.hash: 7bc93c11d7855dedb8d60f140af4e413252c32a7
8
+ * git.commit.hash: 3a2127f77d7fd3ed6ae30186d4a06f52610673a6
9
9
  */
10
10
 
11
11
  import { RgbaColor } from '../internalTypes';
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * name: maplibre-gl-layers
3
- * version: 0.19.0
3
+ * version: 1.0.0
4
4
  * description: MapLibre's layer extension library enabling the display, movement, and modification of large numbers of dynamic sprite images
5
5
  * author: Kouji Matsui (@kekyo@mi.kekyo.net)
6
6
  * license: MIT
7
7
  * repository.url: https://github.com/kekyo/maplibre-gl-layers.git
8
- * git.commit.hash: 7bc93c11d7855dedb8d60f140af4e413252c32a7
8
+ * git.commit.hash: 3a2127f77d7fd3ed6ae30186d4a06f52610673a6
9
9
  */
10
10
 
11
11
  import { SpriteImageRegisterOptions } from '../types';
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * name: maplibre-gl-layers
3
- * version: 0.19.0
3
+ * version: 1.0.0
4
4
  * description: MapLibre's layer extension library enabling the display, movement, and modification of large numbers of dynamic sprite images
5
5
  * author: Kouji Matsui (@kekyo@mi.kekyo.net)
6
6
  * license: MIT
7
7
  * repository.url: https://github.com/kekyo/maplibre-gl-layers.git
8
- * git.commit.hash: 7bc93c11d7855dedb8d60f140af4e413252c32a7
8
+ * git.commit.hash: 3a2127f77d7fd3ed6ae30186d4a06f52610673a6
9
9
  */
10
10
 
11
11
  export interface Rect {
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * name: maplibre-gl-layers
3
- * version: 0.19.0
3
+ * version: 1.0.0
4
4
  * description: MapLibre's layer extension library enabling the display, movement, and modification of large numbers of dynamic sprite images
5
5
  * author: Kouji Matsui (@kekyo@mi.kekyo.net)
6
6
  * license: MIT
7
7
  * repository.url: https://github.com/kekyo/maplibre-gl-layers.git
8
- * git.commit.hash: 7bc93c11d7855dedb8d60f140af4e413252c32a7
8
+ * git.commit.hash: 3a2127f77d7fd3ed6ae30186d4a06f52610673a6
9
9
  */
10
10
 
11
11
  import { SpriteAnchor, SpriteLocation, SpritePoint, SpriteScalingOptions, SpriteScreenPoint } from '../types';
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * name: maplibre-gl-layers
3
- * version: 0.19.0
3
+ * version: 1.0.0
4
4
  * description: MapLibre's layer extension library enabling the display, movement, and modification of large numbers of dynamic sprite images
5
5
  * author: Kouji Matsui (@kekyo@mi.kekyo.net)
6
6
  * license: MIT
7
7
  * repository.url: https://github.com/kekyo/maplibre-gl-layers.git
8
- * git.commit.hash: 7bc93c11d7855dedb8d60f140af4e413252c32a7
8
+ * git.commit.hash: 3a2127f77d7fd3ed6ae30186d4a06f52610673a6
9
9
  */
10
10
 
11
11
  import { ImageHandleBufferController, IdHandler, RenderTargetBucketBuffers, RenderTargetEntryLike, SpriteOriginReference } from '../internalTypes';
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * name: maplibre-gl-layers
3
- * version: 0.19.0
3
+ * version: 1.0.0
4
4
  * description: MapLibre's layer extension library enabling the display, movement, and modification of large numbers of dynamic sprite images
5
5
  * author: Kouji Matsui (@kekyo@mi.kekyo.net)
6
6
  * license: MIT
7
7
  * repository.url: https://github.com/kekyo/maplibre-gl-layers.git
8
- * git.commit.hash: 7bc93c11d7855dedb8d60f140af4e413252c32a7
8
+ * git.commit.hash: 3a2127f77d7fd3ed6ae30186d4a06f52610673a6
9
9
  */
10
10
 
11
11
  declare const _default: {
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "git": {
3
3
  "tags": [
4
- "0.19.0"
4
+ "1.0.0"
5
5
  ],
6
6
  "branches": [
7
7
  "main"
8
8
  ],
9
- "version": "0.19.0",
9
+ "version": "1.0.0",
10
10
  "commit": {
11
- "hash": "7bc93c11d7855dedb8d60f140af4e413252c32a7",
12
- "shortHash": "7bc93c1",
13
- "date": "2025-11-23T22:35:51+09:00Z",
11
+ "hash": "3a2127f77d7fd3ed6ae30186d4a06f52610673a6",
12
+ "shortHash": "3a2127f",
13
+ "date": "2025-11-25T19:52:54+09:00Z",
14
14
  "message": "Merge branch 'develop'"
15
15
  }
16
16
  },
17
- "version": "0.19.0",
17
+ "version": "1.0.0",
18
18
  "description": "MapLibre's layer extension library enabling the display, movement, and modification of large numbers of dynamic sprite images",
19
19
  "author": "Kouji Matsui (@kekyo@mi.kekyo.net)",
20
20
  "license": "MIT",