公開靜態介面
GoogleMap.OnPolylineClickListener
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-06-16 (世界標準時間)。
[null,null,["上次更新時間:2025-06-16 (世界標準時間)。"],[[["`GoogleMap.OnPolylineClickListener` is an interface used to handle clicks on polylines on a Google Map."],["It includes a single method, `onPolylineClick`, which is called when a polyline is clicked, providing the clicked polyline as an argument."],["The `onPolylineClick` method is executed on the main Android UI thread."]]],["The `GoogleMap.OnPolylineClickListener` interface provides a callback for polyline click events. The core functionality lies within the `onPolylineClick` method, which is triggered when a polyline is clicked. This method receives the clicked `Polyline` object as a parameter, allowing for identification and interaction with the specific polyline. This event is executed on the Android UI thread.\n"]]