tilelive-blend

0.5.1 • Public • Published

tilelive-blend

Will it blend?

Usage

{
  protocol: "blend:",
  query: {
    layers: [
      {
        source: "tilejson+http://tile.stamen.com/toner-background/index.json",
        opacity: 0.5,
        filters: "color-to-alpha(#008800)",
        offset: [5, -5]
      },
      {
        source: "tilejson+http://tile.stamen.com/toner-lines/index.json",
        filters: "invert agg-stack-blur(1,1)"
      },
      {
        source: "tilejson+http://tile.stamen.com/toner-labels/index.json",
        "comp-op": "over"
      }
    ],
    format: "png32:z=1"
  }
}

If you need to blend over a solid color, use tilelive-solid.

/tilelive-blend/

    Package Sidebar

    Install

    npm i tilelive-blend

    Weekly Downloads

    3

    Version

    0.5.1

    License

    ISC

    Last publish

    Collaborators

    • mojodna