Map.setZoom

지도의 확대/축소 수준을 설정합니다.

이 ui.Map을 반환합니다.

사용반환 값
Map.setZoom(zoom)ui.Map
인수유형세부정보
zoom숫자지도에 설정할 확대/축소 수준(0~24)입니다.

코드 편집기 (JavaScript)

// See the entire world.
Map.setZoom(1);

// See the smallest region possible.
Map.setZoom(24);

// The most recent zoom is the one the view will have.
Map.setZoom(12);