GoogleMap.OnPolylineClickListener
ממשק התקשרות חזרה כשמשתמש לוחץ על קו פוליגוני.
שיטות ציבוריות
Public
מופשט
void
onPolylineClick
(Polyline polyline)
מופעלת בעקבות לחיצה על קו פוליגוני.
ההגדרה הזו נקראת ב-thread של ממשק המשתמש ב-Android.
פרמטרים
קו פוליגוני |
הקו הפוליגון שעליו לוחצים.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-16 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-16 (שעון UTC)."],[[["`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"]]