New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@kartotherian/demultiplexer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kartotherian/demultiplexer

Tile source that directs tile requests to different tile sources depending on the zoom level

  • 0.0.10
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Build Status

@kartotherian/demultiplexer

Tile source that directs tile requests to different tile sources depending on the zoom level

Usage examples

Scenario: There are two different tile sources, one with the low-zoom earth imagery, and another with the detailed vector-based high-zoom data. Demultiplexer would allow us to return low zoom tiles (e.g. before zoom 6) from one source, and high zoom tiles from another.

storeLow:
  uri: cassandra://...

storeHigh:
  uri: cassandra://...

mix:
  uri: demultiplexer://
  params:
    source1: {ref: storeLow}
    from1: 0
    before1: 6
    source2: {ref: storeHigh}
    from2: 6
    before2: 18

fromN is inclusive, beforeN is exclusive. Configuration must specify a non-duplicate source for every zoom level between minimum and maximum, but minimum may be non-zero.

See https://github.com/kartotherian/kartotherian

Keywords

FAQs

Package last updated on 26 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc