FileName: IUserTagInfo.ts Description : tag option interface Change History

2024.07.04

Emilia

pos 추가 2024.05.24

Clara

camera2dOnly tag 구현

interface IUserTagInfo {
    floorId: string;
    id?: string;
    pos?: POS;
    position: {
        x: number;
        y: number;
        z?: number;
    };
    tag: HTMLElement;
}

Properties

floorId: string

태그와 연동될 POI or marker의 floorID

id?: string

태그의 ID

pos?: POS

tag의 위치

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

태그가 생성될 위치좌표

Type declaration

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

생성할 HTML Element tag