마커의 이미지 속성

interface IMarkerIcon {
    anchor: {
        x: number;
        y: number;
    };
    height?: number;
    iconUrl: string;
    width?: number;
}

Hierarchy (view full)

Properties

anchor: {
    x: number;
    y: number;
}

center - marker의 중심점 (left/bottom이 0,0이고 right/top이 1,1)

Type declaration

  • x: number
  • y: number
height?: number

marker의 높이 값, 넣지 않으면 icon의 height값으로 자동계산 됨

iconUrl: string

marker의 이미지 url

width?: number

marker의 넓이 값, 넣지 않으면 icon의 width값으로 자동계산 됨