fgb-vt - v1.0.4
    Preparing search index...

    Interface TileServerLayer

    A layer configuration binding a Connector to one or more Sources.

    Each layer represents a distinct storage backend. Within a layer, all sources share the same connector for byte-range reads.

    // Single source per connector
    const layer: TileServerLayer = {
    connector: new HttpConnector(),
    sources: { name: 'parcels', path: 'https://cdn.example.com/parcels.fgb' },
    };

    // Multiple sources sharing one connector
    const multiLayer: TileServerLayer = {
    connector: new LocalConnector(),
    sources: [
    { name: 'water', path: './data/water.fgb' },
    { name: 'land', path: './data/land.fgb' },
    ],
    };
    interface TileServerLayer {
        connector: Connector;
        sources: Source | Source[];
    }
    Index

    Properties

    Properties

    connector: Connector

    Byte-range reader used to access all sources in this layer.

    sources: Source | Source[]

    One or more FGB source descriptors served through this connector.