marker.js 3 Documentation
    Preparing search index...

    Interface MarkerEditorProperties<TMarkerType>

    Properties for marker editor.

    interface MarkerEditorProperties<TMarkerType extends MarkerBase = MarkerBase> {
        container: SVGGElement;
        marker?: TMarkerType;
        markerType: new (container: SVGGElement) => TMarkerType;
        overlayContainer: HTMLDivElement;
    }

    Type Parameters

    Index

    Properties

    container: SVGGElement

    SVG container for the marker and editor elements.

    marker?: TMarkerType

    Previously created marker to edit.

    markerType: new (container: SVGGElement) => TMarkerType

    Type of marker to create.

    overlayContainer: HTMLDivElement

    HTML overlay container for editor's HTML elements (such as label text editor).