Map.setZoom

Haritanın yakınlaştırma düzeyini ayarlar.

Bu ui.Map'i döndürür.

Kullanımİadeler
Map.setZoom(zoom)ui.Map
Bağımsız DeğişkenTürAyrıntılar
zoomSayıHarita için ayarlanacak yakınlaştırma düzeyi (0-24).

Örnekler

Kod Düzenleyici (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);