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.
@@ -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).