Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum 15 April 2025 harus memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
Opsi yang mengontrol cara gestur ditangani di peta. Nilai yang diizinkan:
"kooperatif": Peristiwa scroll dan gestur sentuh satu jari men-scroll halaman, dan tidak melakukan zoom atau menggeser peta. Gestur sentuh dua jari menggeser dan melakukan zoom pada peta. Peristiwa scroll dengan tombol ctrl atau tombol ⌘ yang ditekan akan memperbesar peta. Dalam mode ini, peta berinteraksi dengan halaman.
"greedy": Semua gestur sentuh dan peristiwa scroll menggeser atau melakukan zoom pada peta.
"none": Peta tidak dapat digeser atau di-zoom oleh gestur pengguna.
"auto": (default) Penanganan gestur bersifat kooperatif atau rakus, bergantung pada apakah halaman dapat di-scroll atau berada dalam iframe.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-26 UTC."],[[["`gestureHandling` option controls how users interact with the map through gestures like scrolling and touch."],["Options include \"cooperative\", \"greedy\", \"none\", and the default \"auto\", each affecting how the map responds to user input."],["\"cooperative\" allows page scrolling with one finger and map interaction with two fingers, while \"greedy\" makes all gestures control the map."],["\"none\" disables map panning and zooming via gestures, whereas \"auto\" intelligently switches between \"cooperative\" and \"greedy\" based on context."],["Refer to the Google Maps documentation for detailed information and implementation instructions."]]],["The `Map.setGestureHandling(option)` method controls map gesture behavior. The `option` argument, a string, determines how the map interacts with user gestures. \"cooperative\" mode allows page scrolling with single-finger or scroll events while reserving two-finger gestures for map manipulation. \"greedy\" mode assigns all touch and scroll actions to the map. \"none\" disables map panning/zooming via gestures. \"auto\" (default) switches between cooperative and greedy modes.\n"]]