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

    Interface BaseSvgParams

    Base parameters available for all SVG URLs

    interface BaseSvgParams {
        icon: string;
        width?: number;
        height?: number;
        pixelRatio?: number;
        protocol?: string;
    }
    Index

    Properties

    icon: string

    Icon identifier

    width?: number

    Width in CSS pixels

    height?: number

    Height in CSS pixels

    pixelRatio?: number

    Pixel ratio for HiDPI displays

    protocol?: string

    Protocol scheme (default: 'svg')