@fxi/zartigl 0.8.0 → 0.9.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.
package/dist/zartigl.d.ts CHANGED
@@ -1572,11 +1572,14 @@ export declare class Zartigl {
1572
1572
  private updateQueue;
1573
1573
  private suspended;
1574
1574
  private attachQueued;
1575
+ /**
1576
+ * Place of the detached render layer, for the next one : the layer above
1577
+ * it, `undefined` at the top, `null` when none was attached.
1578
+ */
1579
+ private anchor;
1575
1580
  private querySources;
1576
1581
  private listeners;
1577
- private readonly onMapLoad;
1578
- private readonly onStyleData;
1579
- private readonly onMapIdle;
1582
+ private readonly onMapReady;
1580
1583
  constructor(options: ZartiglOptions);
1581
1584
  init(): Promise<void>;
1582
1585
  update(input: ZartiglUpdate): Promise<void>;
@@ -1740,7 +1743,11 @@ export declare class Zartigl {
1740
1743
  private resolveSource;
1741
1744
  private querySource;
1742
1745
  private isMapReady;
1746
+ /** A new render layer takes the place of the detached one, else `before`. */
1743
1747
  private getBeforeLayerId;
1748
+ private isAttached;
1749
+ /** First layer above the render layer that is not its own WMTS raster. */
1750
+ private layerAbove;
1744
1751
  private requireLayer;
1745
1752
  private assertAlive;
1746
1753
  private emit;
@@ -1797,6 +1804,8 @@ declare type ZartiglEventMap = {
1797
1804
  id: string;
1798
1805
  type: CatalogSource["type"];
1799
1806
  }) => void;
1807
+ /** The render layer was added to the map, e.g. for the host to order it. */
1808
+ layerAttach: (id: string) => void;
1800
1809
  };
1801
1810
 
1802
1811
  export declare class ZartiglFrameUnavailableError extends Error {