The DxfToGeoJsonTextMapper class processes DXF text-related entities (TEXT, MTEXT, ATTDEF) and converts them into corresponding GeoJSON or graphics layers. It manages text content, rotation, positioning, and labeling details.

Constructors

Properties

Shared DXF context containing references to renderer objects, spatial references, and feature collections.

Methods

  • Converts all processed text features (TEXT, MTEXT, ATTDEF) into a GraphicsLayer for map annotation visualization.

    Returns void

  • Parameters

    • graphics: Graphic[]

    Returns number

  • Processes a DXF ATTDEF (attribute definition) entity and converts it into a text-based GeoJSON point feature with block, tag, and rotation properties.

    Parameters

    Returns Promise<void>

  • Processes a DXF MTEXT entity (multi-line text) and converts it into a cleaned and formatted GeoJSON point feature.

    Parameters

    Returns Promise<void>

  • Processes a DXF TEXT entity and converts it into a GeoJSON point feature with text attributes such as rotation and height.

    Parameters

    Returns Promise<void>