@americana/maplibre-shield-generator
    Preparing search index...

    Interface ShieldSpecification

    A user-supplied specification for rendering shields

    const shieldsSpecification = {
    shields: {
    "US:I": {
    textColor: Color.shields.white,
    spriteBlank: ["shield_us_interstate_2", "shield_us_interstate_3"],
    textLayout: textConstraint("southHalfEllipse"),
    padding: {
    left: 4,
    right: 4,
    top: 6,
    bottom: 5,
    },
    }
    },
    options: {
    bannerTextColor: "#000",
    bannerTextHaloColor: "#FFF",
    bannerHeight: 9,
    bannerPadding: 1,
    shieldFont: '"sans-serif-condensed", "Arial Narrow", sans-serif',
    shieldSize: 20,
    }
    };
    interface ShieldSpecification {
        networks: ShieldDefinitions;
        options: ShieldOptions;
    }
    Index

    Properties

    Properties

    Shield definitions

    options: ShieldOptions

    Shield options