dabeeomaps에서 다루는 모든 marker들의 기본 default value.

interface INaviMarkerOptions {
    anchor: {
        x: number;
        y: number;
    };
    animate?: {
        duration?: number;
        opacity?: number;
        repeat?: number;
    };
    height: number;
    iconUrl: string;
    visibleIcon?: boolean;
    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
animate?: {
    duration?: number;
    opacity?: number;
    repeat?: number;
}

animate : 도착지 아이콘의 animate 속성

Type declaration

  • Optional duration?: number

    duration: (optional) animate 주기

  • Optional opacity?: number

    opacity : (optional) animate 투명도 정도 (소수점) min: 0 max:1

  • Optional repeat?: number

    repeat: (optional) animate 횟수, undefined이면 무한 반복

height: number

marker의 높이 값

iconUrl: string

marker의 이미지 url

visibleIcon?: boolean

marker를 보여줄지 말지 여부. default는 true. true일 경우 보여줌.

width: number

marker의 넓이 값