The DxfToFeatureLayerPolygonMapper class processes DXF polygon-based entities such as SOLID and CIRCLE, converting them into Feature Layer features. It also builds corresponding renderers and sublayers for visualization.

Constructors

Properties

The shared DXF context containing references to dxfContext, renderers, and layers.

Methods

  • Converts all processed polygon features into a FeatureLayer and adds it to the dxfContext collection.

    Returns void

  • Processes a DXF CIRCLE entity and converts it into an approximate polygon (ring) for GeoJSON representation.

    Parameters

    • entity: ICircleEntity

      The DXF CIRCLE entity to process.

    Returns Promise<void>

  • Processes a DXF SOLID entity, converts it to a polygon feature, and stores it within the context for GeoJSON conversion.

    Parameters

    • entity: ISolidEntity

      The DXF SOLID entity to process.

    Returns Promise<void>