GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Builds an SVG icon element from path data.

      Constructed node by node, never parsed from a markup string — the same rule the security helpers enforce, applied here because the path data comes from configuration.

      Parameters

      • pathData: string

        The d attribute of the path.

      • size: number = 22

        Width and height in pixels. Defaults to 22.

      Returns SVGElement

      The icon element, not yet attached.