Вызывается, когда пользователь выполняет касание карты, но только в том случае, если ни одно из наложений карты не обработало этот жест.
Публичные методы
public абстрактная пустотаonMapClick(точка LatLng )
Вызывается, когда пользователь выполняет касание карты, но только в том случае, если ни одно из наложений карты не обработало этот жест. Реализации этого метода всегда вызываются в потоке пользовательского интерфейса Android.
Параметры
точка
Точка на земле (проецируемая из точки экрана), по которой постучали.
[[["Прост для понимания","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-05-23 UTC."],[[["`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"]]