d3-thematika - v0.0.1
    Preparing search index...

    Interface PointTextLayerOptions

    PointTextLayerの初期化オプション

    interface PointTextLayerOptions {
        alignmentBaseline?:
            | "middle"
            | "central"
            | "hanging"
            | "alphabetic"
            | "auto"
            | "baseline"
            | "before-edge"
            | "text-before-edge"
            | "after-edge"
            | "text-after-edge"
            | "ideographic"
            | "mathematical"
            | "inherit";
        attr?: LayerAttr;
        avoidOverlap?: boolean;
        connectorStyle?: | LayerStyle
        | ((feature: Feature, index: number) => LayerStyle);
        data:
            | FeatureCollection<Geometry, GeoJsonProperties>
            | Feature<Geometry, GeoJsonProperties>[];
        dx?: number | ((feature: Feature, index: number) => number);
        dy?: number | ((feature: Feature, index: number) => number);
        fontFamily?: string | ((feature: Feature, index: number) => string);
        fontSize?:
            | string
            | number
            | ((feature: Feature, index: number) => string | number);
        fontWeight?:
            | "bold"
            | "inherit"
            | "normal"
            | "bolder"
            | "lighter"
            | "100"
            | "200"
            | "300"
            | "400"
            | "500"
            | "600"
            | "700"
            | "800"
            | "900"
            | ((feature: Feature, index: number) => string);
        lengthAdjust?: "spacing" | "spacingAndGlyphs";
        rotate?: number | ((feature: Feature, index: number) => number);
        showConnectors?: boolean;
        style?: LayerStyle;
        textAnchor?: "start" | "end" | "middle" | "inherit";
        textProperty?: string;
        voronoiMargin?: number;
    }
    Index

    Properties

    alignmentBaseline?:
        | "middle"
        | "central"
        | "hanging"
        | "alphabetic"
        | "auto"
        | "baseline"
        | "before-edge"
        | "text-before-edge"
        | "after-edge"
        | "text-after-edge"
        | "ideographic"
        | "mathematical"
        | "inherit"

    ベースラインの位置(デフォルト: "middle")

    attr?: LayerAttr

    レイヤーの属性設定

    avoidOverlap?: boolean

    ラベルの重なり回避を有効にする(デフォルト: false)

    connectorStyle?: LayerStyle | ((feature: Feature, index: number) => LayerStyle)

    接続線のスタイル設定 - 固定値または関数

    data:
        | FeatureCollection<Geometry, GeoJsonProperties>
        | Feature<Geometry, GeoJsonProperties>[]

    GeoJSONデータ

    dx?: number | ((feature: Feature, index: number) => number)

    X方向のオフセット(デフォルト: 0)

    dy?: number | ((feature: Feature, index: number) => number)

    Y方向のオフセット(デフォルト: 0)

    fontFamily?: string | ((feature: Feature, index: number) => string)

    フォントファミリー(デフォルト: "メイリオ, Meiryo, 'MS Pゴシック', MS Gothic, sans-serif")

    fontSize?:
        | string
        | number
        | ((feature: Feature, index: number) => string | number)

    フォントサイズ(デフォルト: 16)

    fontWeight?:
        | "bold"
        | "inherit"
        | "normal"
        | "bolder"
        | "lighter"
        | "100"
        | "200"
        | "300"
        | "400"
        | "500"
        | "600"
        | "700"
        | "800"
        | "900"
        | ((feature: Feature, index: number) => string)

    フォントウェイト(デフォルト: "normal")

    lengthAdjust?: "spacing" | "spacingAndGlyphs"

    テキストの長さ調整(デフォルト: "spacing")

    rotate?: number | ((feature: Feature, index: number) => number)

    テキストの回転角度(デフォルト: 0)

    showConnectors?: boolean

    接続線を表示する(avoidOverlap有効時のみ、デフォルト: false)

    style?: LayerStyle

    レイヤーのCSS style属性設定

    textAnchor?: "start" | "end" | "middle" | "inherit"

    テキストアンカー(デフォルト: "start")

    textProperty?: string

    テキストの内容を取得するプロパティ名(デフォルト: 'text'、次候補: 'name')

    voronoiMargin?: number

    Voronoi図の計算範囲のマージン(デフォルト: 20)