هنگامی که کاربر یک اشاره ضربهای روی نقشه انجام میدهد، تماس گرفته میشود، اما فقط در صورتی که هیچ یک از همپوشانیهای نقشه این حرکت را انجام ندهد. پیاده سازی های این روش همیشه در رشته رابط کاربری اندروید فراخوانی می شوند.
مولفه های
نقطه
نقطه روی زمین (که از نقطه صفحه نمایش داده می شود) که ضربه زده شده است.
تاریخ آخرین بهروزرسانی 2025-04-26 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-04-26 بهوقت ساعت هماهنگ جهانی."],[[["`GoogleMap.OnMapClickListener` is an interface used to handle user tap interactions on a Google Map."],["The `onMapClick` method within this interface is triggered when a user taps on the map, providing the geographical coordinates of the tapped location, but only if no other map overlays have captured the event."],["This interaction is processed on the main Android UI thread, ensuring smooth handling of the event within the application's lifecycle."]]],["The `GoogleMap.OnMapClickListener` interface provides a callback for map tap events. The `onMapClick` method is triggered when a user taps the map, provided no map overlays handled the tap. This method, always executed on the Android UI thread, receives a `LatLng` object (`point`) representing the geographical coordinates of the tap. This allows the user to get the point tapped by the user on the map.\n"]]