ScaleControl : 축척 컨트롤
지도 축척(지면의 해당 거리에 대한 지도의 거리 비율) 표시를 제공하는 컨트롤입니다.
생성되는 기본 위치는 bottom-left입니다.

ScaleControl로 사용할 수 있는 기본 옵션은 ScaleOptions를 확인해주세요.


[ScaleControl 생성 방법]
ScaleControl은 Map 생성 후 addControl로 생성할 수 있습니다.

Example

map.addControl(new ktGms.control.ScaleControl({
maxWidth: 80,
unit: "metric"
}));

See

ScaleControl 축척 컨트롤 생성 예제

Hierarchy

  • ScaleControl

Implements

  • IControl

Constructors

Methods

Constructors

  • ScaleControl class의 생성자입니다.

    Parameters

    Returns ScaleControl

Methods

  • 축척 컨트롤의 눈금 거리 단위를 설정합니다.

    Parameters

    • unit: "imperial" | "metric" | "nautical"

      눈금 거리 단위

    Returns void

Generated using TypeDoc