[[["เข้าใจง่าย","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"]]