maplibre-gl-svg-sprite - v0.2.0
    Preparing search index...

    Function chain

    • Compose multiple operations into a single Postprocess function

      Operations are executed sequentially in the order provided.

      Parameters

      Returns Postprocess

      Composed Postprocess function

      const composed = chain(
      new GridOp(),
      new TextOp(),
      (ctx, w, h) => { ctx.globalAlpha = 0.5; }
      );