maplibre-gl 2.2.1 → 2.3.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.
- package/build/generate-typings.ts +11 -1
- package/dist/maplibre-gl-csp-worker.js +1 -1
- package/dist/maplibre-gl-csp.js +1 -1
- package/dist/maplibre-gl-dev.js +268 -60
- package/dist/maplibre-gl.d.ts +10 -0
- package/dist/maplibre-gl.js +4 -4
- package/dist/style-spec/index.d.ts +1781 -0
- package/package.json +2 -2
- package/src/data/bucket/symbol_bucket.test.ts +30 -19
- package/src/index.test.ts +9 -0
- package/src/index.ts +11 -1
- package/src/source/worker_tile.ts +9 -1
- package/src/style-spec/CHANGELOG.md +10 -0
- package/src/style-spec/composite.test.ts +7 -8
- package/src/style-spec/expression/index.ts +13 -13
- package/src/style-spec/expression/parsing_context.ts +4 -4
- package/src/style-spec/expression/parsing_error.ts +2 -2
- package/src/style-spec/migrate/v8.test.ts +12 -14
- package/src/style-spec/migrate/v9.test.ts +2 -4
- package/src/style-spec/migrate.test.ts +6 -8
- package/src/style-spec/package.json +2 -1
- package/src/symbol/symbol_layout.ts +56 -56
- package/src/ui/map.test.ts +11 -0
- package/src/ui/map.ts +11 -0
package/dist/maplibre-gl.d.ts
CHANGED
|
@@ -10885,6 +10885,11 @@ export declare class Map extends Camera {
|
|
|
10885
10885
|
get vertices(): boolean;
|
|
10886
10886
|
set vertices(value: boolean);
|
|
10887
10887
|
_setCacheLimits(limit: number, checkThreshold: number): void;
|
|
10888
|
+
/**
|
|
10889
|
+
* Returns the package version of the library
|
|
10890
|
+
* @returns {string} Package version of the library
|
|
10891
|
+
*/
|
|
10892
|
+
get version(): string;
|
|
10888
10893
|
}
|
|
10889
10894
|
export declare type NavigationOptions = {
|
|
10890
10895
|
showCompass?: boolean;
|
|
@@ -11633,6 +11638,11 @@ declare const exported: {
|
|
|
11633
11638
|
* maplibregl.clearPrewarmedResources()
|
|
11634
11639
|
*/
|
|
11635
11640
|
clearPrewarmedResources: typeof clearPrewarmedResources;
|
|
11641
|
+
/**
|
|
11642
|
+
* Returns the package version of the library
|
|
11643
|
+
* @returns {string} Package version of the library
|
|
11644
|
+
*/
|
|
11645
|
+
readonly version: string;
|
|
11636
11646
|
/**
|
|
11637
11647
|
* Gets and sets the number of web workers instantiated on a page with GL JS maps.
|
|
11638
11648
|
* By default, it is set to half the number of CPU cores (capped at 6).
|