[[["わかりやすい","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-07-26 UTC。"],[[["Registers a callback function that is triggered when the map is clicked, providing the coordinates of the click."],["Returns a unique ID that can be used to unregister the callback function later using `unlisten()`."],["`onClick` accepts a single argument: a callback function which receives an object containing longitude, latitude, and the map widget."]]],["A callback function is registered to be executed upon a map click. The `Map.onClick(callback)` method accepts this function as an argument and returns a unique string ID. This ID is used to unregister the callback later. The callback receives an object containing the longitude (`lon`), latitude (`lat`), and the map widget upon execution when a map click occurs.\n"]]