ControlManager interface

지도 컨트롤의 컨트롤에 대한 관리자입니다. 아틀라스의 컨트롤 속성을 통해 노출됩니다. Map 클래스입니다. 사용자가 인스턴스화할 수 없습니다.

메서드

add(Control | Control[], ControlOptions)

지도에 컨트롤을 추가합니다.

getControls()

지도에 있는 모든 컨트롤의 배열을 가져옵니다.

remove(Control | Control[])

지도에서 컨트롤을 제거합니다.

메서드 세부 정보

add(Control | Control[], ControlOptions)

지도에 컨트롤을 추가합니다.

function add(control: Control | Control[], options?: ControlOptions)

매개 변수

control

Control | Control[]

추가할 컨트롤입니다.

options
ControlOptions

추가된 컨트롤에 대한 옵션입니다.

getControls()

지도에 있는 모든 컨트롤의 배열을 가져옵니다.

function getControls(): Control[]

반환

remove(Control | Control[])

지도에서 컨트롤을 제거합니다.

function remove(control: Control | Control[])

매개 변수

control

Control | Control[]

제거할 컨트롤입니다.