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

    Class RouteUrlBuilder

    Fluent builder for named-route URLs

    Index

    Constructors

    Methods

    • Parameters

      • width: number
      • Optionalheight: number

      Returns this

    • Parameters

      • ratio: number

      Returns this

    • Parameters

      • opts: { fg?: string; bg?: string; color?: string }

      Returns this

    • Parameters

      • color: string

      Returns this

    • Parameters

      Returns this

    • Parameters

      Returns this

    • Parameters

      Returns this

    • Type Parameters

      • K extends
            | "width"
            | "height"
            | "pixelRatio"
            | (keyof SvgColorParams)
            | (keyof SpriteTintParams)
            | (keyof OverlayTextParams)
            | (keyof OverlaySvgParams)
            | (keyof OverlayGridParams)

      Parameters

      • key: K
      • value: RouteUrlParams[K]

      Returns this

    • Returns string