item과 연동하여 tag 생성 시 필요한 정보에 관한 interface

interface ITag {
    floorId?: string;
    id?: string;
    parentId?: string;
    pos?: TAG_POSITION;
    position?: {
        x: number;
        y: number;
        z?: number;
    };
    tag: HTMLElement;
    type?: TAG_TYPE;
}

Properties

floorId?: string

floor id

id?: string

unique id

parentId?: string

연동될 item id

tag의 위치

position?: {
    x: number;
    y: number;
    z?: number;
}

tag의 world 좌표

Type declaration

  • x: number
  • y: number
  • Optional z?: number
tag: HTMLElement

생성할 HTML Element tag

type?: TAG_TYPE

tag의 type. POI | MARKER