Class AttributionController

著作権表示の表示制御

Hierarchy

Constructors

Properties

_attributions: string[]
_background_color: Vector4
_container: HTMLElement
_default_attributions: string[]
_is_compact: boolean
_normalize_attribution_styles: boolean
_sub_container: HTMLElement
_text_color: Vector3
_viewer?: Viewer
_visibility: boolean

Methods

  • 指定した著作権をコンテナに追加

    Parameters

    • attribution: string | string[]

      単体もしくは配列の文字列 ( HTMLタグ可 )

    • is_default: boolean

      デフォルト要素として追加するか

    Returns void

  • コンテナに著作権を追加

    追加した著作権はコンテナに表示されている著作権の末尾に配置される。

    Parameters

    • attribution: string

      著作権

    • is_default: boolean

    Returns void

  • 著作権を追加する際に、コンテナに既にある著作権と重複していないかを確認

    Returns

    重複していないなら true、重複しているなら false

    Parameters

    • attribution: string

      確認する対象の著作権

    Returns boolean

  • 指定した著作権をコンテナが持つデフォルトの著作権から削除

    Parameters

    • attribution: string

      対象の著作権を示す文字列

    Returns void

  • 指定した著作権をコンテナに追加

    Parameters

    • attribution: string | string[]

      単体もしくは配列の文字列 ( HTMLタグ可 )

    Returns void

  • コンテナの背景色を変更

    Parameters

    • color: Float32Array | Float64Array | [x: number, y: number, z: number, w: number] | [x: number, y: number, z: number]

      GeoMath で表される色情報

    Returns void

  • コンテナの表示設定を変更

    画面横サイズが一定値より小さい場合はこれに関係なく、コンパクト表示となる。

    Parameters

    • compact: boolean

      コンテナをコンパクトにするかを決定する真偽値

    Returns void